Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007312/0.007312, allocations: 102 kB / 15.73 MB, free: 6.051 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.001585/0.001585, allocations: 195 kB / 16.68 MB, free: 5.969 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.899/2.899, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001802/0.3501, allocations: 0.8273 MB / 1.209 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.3502, allocations: 43.78 kB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.3503, allocations: 0 / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.3503, allocations: 7.875 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.3504, allocations: 7.922 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.731e-05/0.3505, allocations: 23.98 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.3506, allocations: 63.78 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3507, allocations: 43.92 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.3508, allocations: 27.86 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.3509, allocations: 27.84 kB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3509, allocations: 8 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.3509, allocations: 4 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.3509, allocations: 19.92 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.351, allocations: 39.73 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3511, allocations: 71.66 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3511, allocations: 0 / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3511, allocations: 3.938 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3511, allocations: 0 / 1.209 GB, free: 8.477 MB / 0.9669 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.0004655/0.3516, allocations: 387.1 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3516, allocations: 8.625 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.3517, allocations: 12.84 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3519, allocations: 192.1 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3519, allocations: 8.375 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3519, allocations: 4.375 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3521, allocations: 95.94 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3521, allocations: 4.188 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3522, allocations: 3.938 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3522, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.3523, allocations: 39.92 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.3529, allocations: 428.5 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.216e-05/0.3529, allocations: 45.28 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.353, allocations: 21.83 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.353, allocations: 4 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.353, allocations: 30.56 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.353, allocations: 0 / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002054/0.3532, allocations: 57.73 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3533, allocations: 81.11 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3535, allocations: 158.2 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3535, allocations: 25.7 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.3536, allocations: 104 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.3536, allocations: 3.906 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.3537, allocations: 21.62 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3538, allocations: 322.8 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.3538, allocations: 11.94 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.3539, allocations: 25.64 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.3539, allocations: 21.72 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3539, allocations: 0 / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.236e-05/0.354, allocations: 57.64 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.354, allocations: 9.703 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3541, allocations: 8 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3541, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.3542, allocations: 8 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3542, allocations: 0 / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.3542, allocations: 7.844 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3542, allocations: 4 kB / 1.211 GB, free: 6.047 MB / 0.9669 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 8.6e-05/0.3543, allocations: 113.8 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.3544, allocations: 11.84 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.3544, allocations: 15.89 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3544, allocations: 15.98 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3544, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3544, allocations: 3.938 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.3548, allocations: 466.8 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3548, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.3549, allocations: 7.938 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3549, allocations: 0 / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3549, allocations: 8.062 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3549, allocations: 0 / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3549, allocations: 4 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.505e-05/0.355, allocations: 81.73 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.3551, allocations: 89 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3551, allocations: 0 / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.3551, allocations: 4 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.3551, allocations: 4.031 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3551, allocations: 4 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.148e-05/0.3552, allocations: 121.6 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3552, allocations: 4 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001824/0.3554, allocations: 4 kB / 1.212 GB, free: 4.996 MB / 0.9669 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.0001404/0.3556, allocations: 99.25 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.3557, allocations: 16.06 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3557, allocations: 0 / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.54e-05/0.3557, allocations: 19.86 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.3559, allocations: 13.31 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.3562, allocations: 154.8 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3565, allocations: 0.693 MB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.3566, allocations: 12.44 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.3566, allocations: 7.438 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3566, allocations: 4 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of Templates: time 0.00259/0.3592, allocations: 476.9 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches