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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0012/0.0012, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001473/0.001473, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.873/2.873, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 16.59 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3627, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001144/0.3639, allocations: 0.5145 MB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.364, allocations: 39.78 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.3641, allocations: 0 / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.3641, allocations: 3.938 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.3642, allocations: 11.94 kB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.069e-05/0.3643, allocations: 11.98 kB / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3644, allocations: 59.75 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.3645, allocations: 32.17 kB / 1.059 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.3646, allocations: 15.86 kB / 1.059 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.3646, allocations: 19.86 kB / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3647, allocations: 4 kB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.3647, allocations: 3.938 kB / 1.059 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.3647, allocations: 11.94 kB / 1.059 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.3647, allocations: 33.64 kB / 1.059 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.714e-05/0.3648, allocations: 55.88 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3648, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.185e-06/0.3648, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3648, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 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.0004122/0.3653, allocations: 367.4 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3653, allocations: 8.031 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.3653, allocations: 7.906 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3655, allocations: 186.9 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3656, allocations: 12 kB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3656, allocations: 11.95 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3658, allocations: 89.02 kB / 1.059 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3658, allocations: 0 / 1.059 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.3658, allocations: 11.98 kB / 1.059 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3658, allocations: 3.938 kB / 1.059 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.3659, allocations: 35.98 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.3665, allocations: 436.5 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.3665, allocations: 41.28 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.3666, allocations: 25.84 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-06/0.3666, allocations: 0 / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3666, allocations: 38.5 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3666, allocations: 3.938 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.3668, allocations: 49.61 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3669, allocations: 85.05 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.367, allocations: 164.3 kB / 1.06 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.367, allocations: 29.7 kB / 1.06 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.3671, allocations: 108 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.3671, allocations: 3.906 kB / 1.06 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.3672, allocations: 0 / 1.06 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3673, allocations: 322.8 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3673, allocations: 0 / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.3673, allocations: 25.66 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.3674, allocations: 12 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3674, allocations: 0 / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.384e-05/0.3675, allocations: 57.53 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3675, allocations: 4 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3675, allocations: 7.953 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3675, allocations: 0 / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.3676, allocations: 4 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3676, allocations: 0 / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.3676, allocations: 19.83 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.3676, allocations: 4.062 kB / 1.061 GB, free: 2.109 MB / 0.8106 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.563e-05/0.3677, allocations: 109.8 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.3678, allocations: 11.91 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.3678, allocations: 7.875 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.3678, allocations: 3.953 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3678, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3678, allocations: 4 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.3682, allocations: 466.8 kB / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3682, allocations: 7.984 kB / 1.061 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.3683, allocations: 3.953 kB / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3683, allocations: 7.938 kB / 1.061 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3683, allocations: 4 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3683, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3683, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.074e-05/0.3684, allocations: 73.97 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.3685, allocations: 93 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3685, allocations: 3.953 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.3685, allocations: 4.094 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.3685, allocations: 3.984 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3686, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.884e-05/0.3687, allocations: 123.5 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3687, allocations: 0 / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001884/0.3689, allocations: 12.03 kB / 1.062 GB, free: 1.078 MB / 0.8106 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.0001256/0.369, allocations: 107.2 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.494e-05/0.3691, allocations: 12 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3691, allocations: 3.938 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.3691, allocations: 11.88 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.3693, allocations: 8 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.3696, allocations: 185.5 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3699, allocations: 0.6965 MB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.52e-05/0.3699, allocations: 12.41 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.37, allocations: 11.44 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.37, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.002447/0.3724, allocations: 411.9 kB / 1.063 GB, free: 15.57 MB / 0.8262 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=480 -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/jenkins/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