Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.559/2.559, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 179.1 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.1 MB / 0.7992 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 84.39 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 13.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3526, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.5552, allocations: 149.6 MB / 1.375 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5555, allocations: 67.95 kB / 1.375 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002917/0.5585, allocations: 1.079 MB / 1.376 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5585, allocations: 0 / 1.376 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.5585, allocations: 4 kB / 1.376 GB, free: 2.699 MB / 0.8698 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.0004484/0.559, allocations: 367.9 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.559, allocations: 8.25 kB / 1.377 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.5591, allocations: 11.86 kB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.5593, allocations: 186.7 kB / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.5593, allocations: 8 kB / 1.377 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5594, allocations: 12 kB / 1.377 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.5596, allocations: 83.39 kB / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5596, allocations: 4 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.5596, allocations: 4 kB / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5596, allocations: 4 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.5597, allocations: 39.92 kB / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008185/0.5606, allocations: 456.6 kB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/0.5607, allocations: 33.22 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.5607, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.5607, allocations: 34.56 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 3.086e-06/0.5607, allocations: 4 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.561, allocations: 57.59 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.561, allocations: 84.98 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.5612, allocations: 144.7 kB / 1.378 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.5612, allocations: 25.7 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.5613, allocations: 100 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.5614, allocations: 11.84 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/0.5614, allocations: 4.25 kB / 1.378 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5615, allocations: 322.8 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.5616, allocations: 4 kB / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.5616, allocations: 21.7 kB / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.5616, allocations: 13.55 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5617, allocations: 4 kB / 1.378 GB, free: 468 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.5618, allocations: 57.55 kB / 1.378 GB, free: 404 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5618, allocations: 8.062 kB / 1.378 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.5618, allocations: 4 kB / 1.378 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5618, allocations: 3.984 kB / 1.378 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.5619, allocations: 4 kB / 1.378 GB, free: 384 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5619, allocations: 0 / 1.378 GB, free: 384 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.562, allocations: 7.906 kB / 1.378 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.562, allocations: 3.938 kB / 1.378 GB, free: 372 kB / 0.8698 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 0.0001219/0.5621, allocations: 119.5 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.5622, allocations: 7.906 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.5622, allocations: 19.86 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5623, allocations: 0 / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5623, allocations: 0 / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5623, allocations: 4 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.5628, allocations: 466.8 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5628, allocations: 4 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.5628, allocations: 0 / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.5628, allocations: 8.062 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5628, allocations: 7.938 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.5628, allocations: 3.984 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5629, allocations: 0 / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.563, allocations: 87.56 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.5631, allocations: 97.12 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.5631, allocations: 3.984 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.5631, allocations: 4 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.5632, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.5632, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001035/0.5633, allocations: 119.2 kB / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5633, allocations: 0 / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001864/0.5635, allocations: 15.95 kB / 1.379 GB, free: 15.3 MB / 0.8855 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.0001743/0.5637, allocations: 109.9 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.5638, allocations: 19.94 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5638, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.562e-05/0.5638, allocations: 11.92 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.5639, allocations: 8 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.5644, allocations: 178.8 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5647, allocations: 0.6965 MB / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.5648, allocations: 8.422 kB / 1.38 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.5648, allocations: 11.44 kB / 1.38 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.5648, allocations: 4 kB / 1.38 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of Templates: time 0.00281/0.5676, allocations: 411.9 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches