Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001108/0.001108, allocations: 185.1 kB / 498.1 MB, free: 5.672 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.706/1.706, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009321/0.0009323, allocations: 98.69 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005321, allocations: 9 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2803, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.4634, allocations: 148.8 MB / 1.368 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4637, allocations: 67.95 kB / 1.368 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002563/0.4663, allocations: 1.084 MB / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4663, allocations: 0 / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4663, allocations: 4 kB / 1.369 GB, free: 12.08 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.0003834/0.4667, allocations: 369.8 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.4668, allocations: 12.02 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.4668, allocations: 15.86 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.467, allocations: 178.9 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.467, allocations: 4 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.4671, allocations: 8 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4672, allocations: 92.89 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4672, allocations: 0 / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4673, allocations: 3.984 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4673, allocations: 4 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.4674, allocations: 43.91 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.4679, allocations: 444.6 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.438e-05/0.468, allocations: 45.25 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.468, allocations: 0 / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.468, allocations: 34.55 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.468, allocations: 0 / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001791/0.4682, allocations: 53.61 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.4683, allocations: 81.36 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4684, allocations: 151.6 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4685, allocations: 25.7 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.4685, allocations: 99.98 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.4685, allocations: 7.891 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4685, allocations: 4.219 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4687, allocations: 314.8 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.4687, allocations: 11.94 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.4687, allocations: 29.64 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.4688, allocations: 15.95 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4688, allocations: 0 / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.573e-05/0.4688, allocations: 49.61 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4689, allocations: 7.984 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4689, allocations: 8 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4689, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.469, allocations: 12 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.469, allocations: 0 / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.469, allocations: 11.91 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.469, allocations: 0 / 1.371 GB, free: 9.746 MB / 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 7.94e-05/0.4691, allocations: 121.7 kB / 1.371 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.4692, allocations: 7.906 kB / 1.371 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.4692, allocations: 11.86 kB / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4692, allocations: 0 / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4692, allocations: 0 / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4692, allocations: 8 kB / 1.372 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.4696, allocations: 470.7 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4696, allocations: 4 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.4696, allocations: 0 / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4696, allocations: 4 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.4696, allocations: 0 / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4696, allocations: 3.984 kB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4696, allocations: 0 / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.149e-05/0.4697, allocations: 95.58 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.4698, allocations: 89 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4698, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.4698, allocations: 4 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.4699, allocations: 0 / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.4699, allocations: 8.031 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.959e-05/0.47, allocations: 119.9 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.47, allocations: 0 / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000171/0.4702, allocations: 15.86 kB / 1.372 GB, free: 8.684 MB / 0.8698 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.0001179/0.4703, allocations: 99.03 kB / 1.372 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.4704, allocations: 23.92 kB / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4704, allocations: 3.938 kB / 1.372 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.4704, allocations: 12.12 kB / 1.372 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.862e-05/0.4705, allocations: 4 kB / 1.372 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.4708, allocations: 178.7 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.471, allocations: 0.6975 MB / 1.373 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.4711, allocations: 12.36 kB / 1.373 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.4711, allocations: 11.44 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4711, allocations: 0 / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of Templates: time 0.002182/0.4733, allocations: 427.9 kB / 1.374 GB, free: 7.152 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches