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.001515/0.001515, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001649/0.001649, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.964/0.9655, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.0025/0.968, allocations: 0.827 MB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000174/0.9682, allocations: 39.8 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.9683, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.691e-05/0.9684, allocations: 11.88 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.9685, allocations: 11.91 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.205e-05/0.9686, allocations: 19.98 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.9687, allocations: 63.78 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.9689, allocations: 43.92 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.969, allocations: 23.92 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.9691, allocations: 27.8 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.9691, allocations: 8 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.9691, allocations: 4 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.9691, allocations: 19.92 kB / 1.21 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.9692, allocations: 39.73 kB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.9693, allocations: 67.7 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9694, allocations: 0 / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9694, allocations: 3.938 kB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.9694, allocations: 4 kB / 1.21 GB, free: 12.47 MB / 0.9356 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.0005065/0.9699, allocations: 384.8 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.9699, allocations: 8.031 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.97, allocations: 8.844 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.9703, allocations: 200.1 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.9703, allocations: 4.375 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.9703, allocations: 8.375 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.9705, allocations: 87.95 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9705, allocations: 192 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.9705, allocations: 15.92 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.9705, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.9706, allocations: 39.92 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.9712, allocations: 432.5 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.9713, allocations: 45.28 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.9713, allocations: 21.84 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.9714, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.9714, allocations: 34.55 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9714, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002108/0.9716, allocations: 61.48 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.9717, allocations: 81.11 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.9718, allocations: 160.6 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.9718, allocations: 25.7 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.9719, allocations: 108 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.9719, allocations: 3.906 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.972, allocations: 17.72 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9721, allocations: 323.1 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.9721, allocations: 4 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.9722, allocations: 25.7 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.9722, allocations: 21.72 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9722, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.9723, allocations: 61.58 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.9724, allocations: 8 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.9724, allocations: 3.938 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.9724, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.9725, allocations: 7.984 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.9725, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.9725, allocations: 7.844 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.9725, allocations: 96 / 1.212 GB, free: 10.04 MB / 0.9356 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.48e-05/0.9726, allocations: 117.8 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.9727, allocations: 19.86 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.9727, allocations: 19.8 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.9727, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9728, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9728, allocations: 4 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.9732, allocations: 470.8 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9732, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.9732, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.9732, allocations: 8.062 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.9732, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.9732, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.9732, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.659e-05/0.9733, allocations: 81.83 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.9734, allocations: 88.95 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.9734, allocations: 4.031 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.9735, allocations: 7.984 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.9735, allocations: 3.938 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.9735, allocations: 0 / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.948e-05/0.9736, allocations: 125.3 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9736, allocations: 0 / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001954/0.9738, allocations: 11.91 kB / 1.213 GB, free: 8.984 MB / 0.9356 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.0001429/0.974, allocations: 95.25 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.9741, allocations: 20 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9741, allocations: 0 / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.9741, allocations: 7.938 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.9743, allocations: 17.95 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.9747, allocations: 184.5 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.975, allocations: 0.6965 MB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.975, allocations: 11.44 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/0.975, allocations: 0 / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of Templates: time 0.002616/0.9776, allocations: 0.8632 MB / 1.214 GB, free: 7.023 MB / 0.9356 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/jenkins1/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