Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001646, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.59/2.59, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.88 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8946, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001785/0.8964, allocations: 0.8111 MB / 0.9504 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.806e-05/0.8965, allocations: 41.34 kB / 0.9504 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.8965, allocations: 9.094 kB / 0.9504 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.8966, allocations: 12.98 kB / 0.9504 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.8967, allocations: 7.875 kB / 0.9504 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.665e-05/0.8967, allocations: 23.33 kB / 0.9505 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.462e-05/0.8968, allocations: 56.19 kB / 0.9505 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.897, allocations: 36.38 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.897, allocations: 35.84 kB / 0.9506 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.8971, allocations: 32.3 kB / 0.9506 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.8971, allocations: 6.188 kB / 0.9506 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.8971, allocations: 7.094 kB / 0.9506 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.8971, allocations: 17.27 kB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.8972, allocations: 30.81 kB / 0.9507 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.14e-05/0.8973, allocations: 74.5 kB / 0.9508 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8973, allocations: 0 / 0.9508 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8973, allocations: 0.7812 kB / 0.9508 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.8973, allocations: 0 / 0.9508 GB, free: 8.23 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003095/0.8976, allocations: 378.5 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.8976, allocations: 9.031 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.8977, allocations: 9.844 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8978, allocations: 198.2 kB / 0.9513 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.8978, allocations: 4.156 kB / 0.9513 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.8979, allocations: 8.469 kB / 0.9513 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.898, allocations: 87.55 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.898, allocations: 4.125 kB / 0.9514 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.898, allocations: 13.03 kB / 0.9514 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.898, allocations: 2.781 kB / 0.9514 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.8981, allocations: 35.61 kB / 0.9515 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.8985, allocations: 433.4 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.8986, allocations: 45.69 kB / 0.9519 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.8986, allocations: 14.81 kB / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-06/0.8986, allocations: 0 / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.8986, allocations: 40.38 kB / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8986, allocations: 0 / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.8988, allocations: 62.5 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.8988, allocations: 81.92 kB / 0.9521 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.8989, allocations: 160.3 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.899, allocations: 29.7 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.899, allocations: 109 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.899, allocations: 11.83 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.899, allocations: 22.34 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.8991, allocations: 325.3 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.8991, allocations: 8 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.8991, allocations: 17.88 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.8992, allocations: 22.28 kB / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8992, allocations: 0 / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.273e-05/0.8993, allocations: 63.19 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.8993, allocations: 8.656 kB / 0.9529 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8993, allocations: 4.594 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8993, allocations: 1.094 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.8994, allocations: 5.625 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8994, allocations: 1.438 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.8994, allocations: 5.359 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.8994, allocations: 5.344 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.8995, allocations: 114.1 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.8995, allocations: 8.094 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.8995, allocations: 22.73 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8995, allocations: 0 / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.8996, allocations: 1.375 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.8996, allocations: 1.406 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.8998, allocations: 469.6 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.8998, allocations: 3.984 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.8999, allocations: 3.219 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8999, allocations: 5.625 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.8999, allocations: 0 / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8999, allocations: 1.219 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8999, allocations: 1.25 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.145e-05/0.9, allocations: 81.97 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.9, allocations: 92.28 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.9, allocations: 0.9688 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.9, allocations: 4.031 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.9, allocations: 2 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.9001, allocations: 0.9688 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.622e-05/0.9001, allocations: 124 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9001, allocations: 1.062 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001946/0.9003, allocations: 11.19 kB / 0.9538 GB, free: 5.105 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.352e-05/0.9004, allocations: 100.8 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.9005, allocations: 22.72 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9005, allocations: 0 / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.9006, allocations: 4.844 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.9007, allocations: 12.02 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.901, allocations: 169 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.9011, allocations: 0.6946 MB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.9012, allocations: 7.797 kB / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.9012, allocations: 11.84 kB / 0.9548 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.9012, allocations: 4 kB / 0.9548 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.002441/0.9037, allocations: 449.8 kB / 0.9552 GB, free: 3.891 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches