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.526/1.526, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 184.5 kB / 316.3 MB, free: 3.289 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.731/1.731, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008814/0.0008815, allocations: 99.84 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.011e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2401, allocations: 106.4 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7029/0.9431, allocations: 131.6 MB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.9435, allocations: 67.05 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002923/0.9464, allocations: 1.158 MB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9464, allocations: 0 / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9464, allocations: 0 / 1.015 GB, free: 5.152 MB / 0.6355 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.0003569/0.9468, allocations: 366 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.9468, allocations: 8.031 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.9469, allocations: 7.906 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.9471, allocations: 190.7 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.9471, allocations: 8 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.9471, allocations: 4 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.764e-05/0.9472, allocations: 31.5 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.9474, allocations: 78.78 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.9474, allocations: 0 / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.9474, allocations: 3.984 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.9474, allocations: 4 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.948, allocations: 412 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.948, allocations: 45.22 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.9481, allocations: 17.83 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.9481, allocations: 2.625 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.9481, allocations: 34.44 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9481, allocations: 4 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001587/0.9483, allocations: 49.47 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.9484, allocations: 81.17 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.9485, allocations: 123.2 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.9485, allocations: 29.39 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.9486, allocations: 111.3 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.9486, allocations: 3.906 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.9486, allocations: 0 / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9487, allocations: 322.8 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.9487, allocations: 4 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.9488, allocations: 24.19 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/0.9488, allocations: 11.88 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.9488, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.914e-05/0.9489, allocations: 65.14 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.9489, allocations: 4 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.9489, allocations: 0 / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9489, allocations: 0 / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.949, allocations: 12 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.949, allocations: 4 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.949, allocations: 7.844 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.9491, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 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 () * 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 8.12e-05/0.9491, allocations: 101 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.9492, allocations: 12.16 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.9492, allocations: 11.61 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9492, allocations: 11.88 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9492, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.9492, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.9496, allocations: 454.7 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9496, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.9497, allocations: 4 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9497, allocations: 3.938 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.9497, allocations: 0 / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.9497, allocations: 4 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9497, allocations: 0 / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.891e-05/0.9498, allocations: 91.19 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.9499, allocations: 84.98 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.9499, allocations: 3.984 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.9499, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.9499, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.9499, allocations: 8.031 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.95, allocations: 104.4 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.95, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001703/0.9502, allocations: 8 kB / 1.018 GB, free: 2.055 MB / 0.6355 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 () * 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.000128/0.9503, allocations: 103.2 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.9504, allocations: 15.62 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9504, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.9504, allocations: 8.188 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.9505, allocations: 13.61 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.9508, allocations: 104.7 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.9511, allocations: 0.7002 MB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.9511, allocations: 192 / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.9512, allocations: 23.38 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9512, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of Templates: time 0.002005/0.9532, allocations: 318.7 kB / 1.019 GB, free: 0.7422 MB / 0.6355 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