Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 166.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008696/0.0008695, allocations: 94.28 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004456, allocations: 12.06 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2885, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.4774, allocations: 131.4 MB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4778, allocations: 67.97 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002888/0.4807, allocations: 1.161 MB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4807, allocations: 4 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4807, allocations: 4 kB / 1.03 GB, free: 11.11 MB / 0.6823 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.0004251/0.4812, allocations: 371.2 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.4812, allocations: 12.03 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.4813, allocations: 11.84 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.4815, allocations: 186.8 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.4815, allocations: 7.938 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.4815, allocations: 8 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4817, allocations: 93.73 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4817, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4817, allocations: 4 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4817, allocations: 4 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.4818, allocations: 43.91 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.4825, allocations: 452.6 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.4826, allocations: 41.19 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.4826, allocations: 4.125 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.4826, allocations: 34.56 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4826, allocations: 0 / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.4828, allocations: 61.53 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.4829, allocations: 77.11 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.483, allocations: 153.3 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.4831, allocations: 25.7 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.4831, allocations: 112.2 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.4832, allocations: 15.83 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4832, allocations: 3.938 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4833, allocations: 314.8 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.4834, allocations: 11.98 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.4834, allocations: 25.66 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.4835, allocations: 8 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4835, allocations: 4 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.12e-05/0.4836, allocations: 65.55 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4836, allocations: 4 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4836, allocations: 4 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4836, allocations: 3.938 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.4837, allocations: 4 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4837, allocations: 0 / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.4837, allocations: 4.672 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.4837, allocations: 96 / 1.032 GB, free: 8.738 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/0.4839, allocations: 117.9 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.4839, allocations: 23.69 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.4839, allocations: 16.55 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.484, allocations: 0 / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.484, allocations: 8 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.484, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.4844, allocations: 482.8 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4844, allocations: 0 / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.4845, allocations: 0 / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4845, allocations: 4 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4845, allocations: 4 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4845, allocations: 0 / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4845, allocations: 0 / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4846, allocations: 99.53 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.4847, allocations: 89.02 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4847, allocations: 3.984 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.4847, allocations: 0 / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.4847, allocations: 0 / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4847, allocations: 4 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001026/0.4849, allocations: 124.9 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4849, allocations: 0 / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001874/0.4851, allocations: 15.84 kB / 1.033 GB, free: 7.648 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.4852, allocations: 103.3 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.4853, allocations: 27.92 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4853, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.4853, allocations: 4 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.4855, allocations: 10.02 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.4858, allocations: 202.1 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.4861, allocations: 0.7082 MB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.747e-05/0.4862, allocations: 4.438 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.4862, allocations: 11.44 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/0.4862, allocations: 0 / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of Templates: time 0.0024/0.4886, allocations: 443.8 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches