Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 109.4 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 189.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 482.4 MB / 0.755 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 76.31 kB / 0.924 GB, free: 336 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8382/0.8402, allocations: 162.2 MB / 1.082 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002077/0.8423, allocations: 0.8715 MB / 1.083 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.8425, allocations: 45.45 kB / 1.083 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.8425, allocations: 0.7812 kB / 1.083 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.8426, allocations: 6.719 kB / 1.083 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.8427, allocations: 5.297 kB / 1.083 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.832e-05/0.8427, allocations: 17.53 kB / 1.083 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.8428, allocations: 58.98 kB / 1.083 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.843, allocations: 42.41 kB / 1.083 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.8431, allocations: 29.23 kB / 1.083 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.8431, allocations: 26.61 kB / 1.084 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.8431, allocations: 5.812 kB / 1.084 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.8432, allocations: 6.531 kB / 1.084 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.8432, allocations: 20.75 kB / 1.084 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.8432, allocations: 36.59 kB / 1.084 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.8433, allocations: 49.45 kB / 1.084 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8433, allocations: 4 kB / 1.084 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8433, allocations: 0.625 kB / 1.084 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.8434, allocations: 0 / 1.084 GB, free: 1.086 MB / 0.8262 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.0003707/0.8437, allocations: 381.8 kB / 1.084 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.8438, allocations: 8.531 kB / 1.084 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.8438, allocations: 17.5 kB / 1.084 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.844, allocations: 196.4 kB / 1.084 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.844, allocations: 4.125 kB / 1.084 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.8441, allocations: 13.09 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.8442, allocations: 89.7 kB / 1.084 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8443, allocations: 1.172 kB / 1.084 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.8443, allocations: 9.188 kB / 1.084 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8443, allocations: 6.375 kB / 1.084 GB, free: 396 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.8444, allocations: 34.58 kB / 1.084 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.8449, allocations: 439.4 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.845, allocations: 41.25 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.845, allocations: 17.02 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.845, allocations: 1.188 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.8451, allocations: 40.14 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8451, allocations: 3.938 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.8452, allocations: 52.92 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.8453, allocations: 82.27 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.8455, allocations: 155.5 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.8455, allocations: 30.27 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.8456, allocations: 108.5 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.8456, allocations: 6.875 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.8457, allocations: 22.08 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8459, allocations: 319.5 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.8459, allocations: 4.062 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.8459, allocations: 20.59 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.846, allocations: 26.55 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.846, allocations: 0 / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.489e-05/0.8461, allocations: 62.08 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8461, allocations: 6.281 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.8461, allocations: 3.938 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8461, allocations: 1.406 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.8462, allocations: 6.328 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.8462, allocations: 0.875 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.8462, allocations: 6.75 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.8463, allocations: 5.875 kB / 1.086 GB, free: 15 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/0.8464, allocations: 117.9 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.8464, allocations: 8.375 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.8464, allocations: 16.28 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8464, allocations: 1.281 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8465, allocations: 0.75 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8465, allocations: 5.25 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.8469, allocations: 470.5 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8469, allocations: 0 / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.847, allocations: 3.938 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.847, allocations: 5.328 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.847, allocations: 1.578 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.847, allocations: 1.062 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.847, allocations: 0 / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.8471, allocations: 85.23 kB / 1.086 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.8472, allocations: 93.91 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.8472, allocations: 2.031 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.156e-05/0.8472, allocations: 0.9375 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.8472, allocations: 1.781 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.8473, allocations: 4.875 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001107/0.8474, allocations: 125.4 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8474, allocations: 4.031 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001931/0.8476, allocations: 11.47 kB / 1.087 GB, free: 14.08 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.8477, allocations: 100.9 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.8478, allocations: 19.3 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8478, allocations: 0 / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.8479, allocations: 5.016 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.848, allocations: 14.98 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.8484, allocations: 211.2 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.8487, allocations: 0.6959 MB / 1.088 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.8488, allocations: 11.62 kB / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.8488, allocations: 0 / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of Templates: time 0.002941/0.8517, allocations: 0.8583 MB / 1.089 GB, free: 12.99 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches