Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001185/0.001185, allocations: 187.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0009006/0.0009007, allocations: 90.34 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 9.875 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2277, allocations: 106.3 MB / 0.9001 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.3971, allocations: 131.4 MB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.3974, allocations: 71.95 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002705/0.4001, allocations: 1.161 MB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4001, allocations: 0 / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.4002, allocations: 4 kB / 1.03 GB, free: 11.51 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.0003558/0.4005, allocations: 378.9 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4006, allocations: 12.25 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.4006, allocations: 7.906 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.4008, allocations: 191.8 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4008, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.4008, allocations: 8 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.401, allocations: 93.56 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.401, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.401, allocations: 4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.401, allocations: 8 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.4011, allocations: 39.92 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.4017, allocations: 456.6 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.4018, allocations: 41.09 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.4018, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.4019, allocations: 38.67 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4019, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001895/0.4021, allocations: 61.55 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4021, allocations: 81.05 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.4023, allocations: 153.3 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4023, allocations: 29.7 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.4024, allocations: 103.9 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.4024, allocations: 15.84 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.4025, allocations: 3.938 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4026, allocations: 323.1 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.4026, allocations: 8 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.4026, allocations: 21.72 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.4027, allocations: 8 kB / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4027, allocations: 0 / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.051e-05/0.4028, allocations: 69.48 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4028, allocations: 4 kB / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4028, allocations: 4.062 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4028, allocations: 4 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.4029, allocations: 4 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4029, allocations: 0 / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.403, allocations: 4.828 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.403, allocations: 0 / 1.032 GB, free: 9.125 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.765e-05/0.4031, allocations: 117.8 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.4031, allocations: 15.77 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.4032, allocations: 16.5 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4032, allocations: 4 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4032, allocations: 4 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4032, allocations: 96 / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.4036, allocations: 474.8 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4036, allocations: 11.98 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.4036, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4036, allocations: 4 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4037, allocations: 0 / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4037, allocations: 8 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4037, allocations: 0 / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.4038, allocations: 95.56 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.4038, allocations: 93 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4039, allocations: 0 / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.322e-05/0.4039, allocations: 4.031 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.4039, allocations: 0 / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.4039, allocations: 4 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.404, allocations: 124.9 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.404, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000176/0.4042, allocations: 11.91 kB / 1.033 GB, free: 8.039 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.000133/0.4044, allocations: 111.1 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.4044, allocations: 20 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.4045, allocations: 4 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.4045, allocations: 4 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.4046, allocations: 13.78 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.405, allocations: 201.3 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.4052, allocations: 0.7043 MB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.4053, allocations: 8.422 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.4053, allocations: 11.44 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.4053, allocations: 4 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.002285/0.4076, allocations: 439.7 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches