Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 113 kB / 16.37 MB, free: 6.012 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.001714/0.001715, allocations: 188.2 kB / 17.3 MB, free: 5.613 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.316/1.316, 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.0-master/package.mo): time 2.465/2.465, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.38 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6369/0.9423, allocations: 167.6 MB / 1.19 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007484/0.9498, allocations: 6.541 MB / 1.197 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.9503, allocations: 12.75 kB / 1.197 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005665/0.951, allocations: 168.5 kB / 1.197 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.9531, allocations: 0.8412 MB / 1.198 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.9541, allocations: 327.5 kB / 1.198 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.9549, allocations: 0.7205 MB / 1.199 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.9554, allocations: 272.8 kB / 1.199 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.9568, allocations: 0.5609 MB / 1.2 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.9573, allocations: 261.4 kB / 1.2 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.9574, allocations: 22.59 kB / 1.2 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006921/0.9581, allocations: 346.5 kB / 1.2 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.9582, allocations: 106.3 kB / 1.2 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.9584, allocations: 166.4 kB / 1.2 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.959, allocations: 469.4 kB / 1.201 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.959, allocations: 0 / 1.201 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.959, allocations: 0 / 1.201 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.959, allocations: 0 / 1.201 GB, free: 5.414 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000891/0.9599, allocations: 0.6163 MB / 1.201 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.96, allocations: 9.094 kB / 1.201 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.9603, allocations: 62.62 kB / 1.202 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.9608, allocations: 328.1 kB / 1.202 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.9608, allocations: 21.97 kB / 1.202 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.9609, allocations: 22.84 kB / 1.202 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.9614, allocations: 325.8 kB / 1.202 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.9614, allocations: 0 / 1.202 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.9614, allocations: 10.59 kB / 1.202 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.9614, allocations: 7.75 kB / 1.202 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.9618, allocations: 205.3 kB / 1.202 GB, free: 4.176 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.9633, allocations: 1.52 MB / 1.204 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.9635, allocations: 128.5 kB / 1.204 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.9637, allocations: 93.83 kB / 1.204 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/0.9643, allocations: 303.5 kB / 1.204 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.9643, allocations: 30.56 kB / 1.204 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.9643, allocations: 4 kB / 1.204 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007113/0.9651, allocations: 274.2 kB / 1.205 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.9651, allocations: 57.72 kB / 1.205 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.9654, allocations: 312.9 kB / 1.205 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.9654, allocations: 29.7 kB / 1.205 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9655, allocations: 186.9 kB / 1.205 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.9656, allocations: 44.28 kB / 1.205 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.9657, allocations: 38.64 kB / 1.205 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.9658, allocations: 339 kB / 1.206 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.9659, allocations: 58.86 kB / 1.206 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.9661, allocations: 114.7 kB / 1.206 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.9664, allocations: 179.3 kB / 1.206 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9664, allocations: 0 / 1.206 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003907/0.9668, allocations: 221.1 kB / 1.206 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9668, allocations: 5.312 kB / 1.206 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9669, allocations: 2.312 kB / 1.206 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.9669, allocations: 2.531 kB / 1.206 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.967, allocations: 38.25 kB / 1.206 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.9671, allocations: 4 kB / 1.206 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.9672, allocations: 31.55 kB / 1.206 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.9673, allocations: 7.594 kB / 1.206 GB, free: 0.8281 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 0.0001371/0.9674, allocations: 155.9 kB / 1.206 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.9675, allocations: 30.59 kB / 1.206 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.9679, allocations: 206.7 kB / 1.207 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9679, allocations: 6.406 kB / 1.207 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9679, allocations: 0 / 1.207 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9679, allocations: 0 / 1.207 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.9689, allocations: 0.6894 MB / 1.207 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9689, allocations: 2.406 kB / 1.207 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.969, allocations: 25.61 kB / 1.207 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.969, allocations: 1.125 kB / 1.207 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.9691, allocations: 6.781 kB / 1.207 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.9691, allocations: 7.719 kB / 1.207 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.9691, allocations: 5.5 kB / 1.207 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.9695, allocations: 330.8 kB / 1.208 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.9696, allocations: 124.6 kB / 1.208 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.9696, allocations: 10.17 kB / 1.208 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.9698, allocations: 13.31 kB / 1.208 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.9699, allocations: 11.2 kB / 1.208 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.9699, allocations: 10.25 kB / 1.208 GB, free: 15.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001837/0.9701, allocations: 223.8 kB / 1.208 GB, free: 15.37 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9701, allocations: 0 / 1.208 GB, free: 15.37 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000372/0.9705, allocations: 80.19 kB / 1.208 GB, free: 15.35 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0003299/0.9708, allocations: 148 kB / 1.208 GB, free: 15.24 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.9712, allocations: 161.8 kB / 1.208 GB, free: 15.17 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9712, allocations: 2.344 kB / 1.208 GB, free: 15.17 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.9714, allocations: 82.02 kB / 1.209 GB, free: 15.13 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.9721, allocations: 166.3 kB / 1.209 GB, free: 15.04 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.9729, allocations: 0.5253 MB / 1.209 GB, free: 14.66 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.9732, allocations: 0.7847 MB / 1.21 GB, free: 13.91 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.9734, allocations: 62.19 kB / 1.21 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.9735, allocations: 21.91 kB / 1.21 GB, free: 13.88 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.9735, allocations: 6.906 kB / 1.21 GB, free: 13.88 MB / 0.92 GB Notification: Performance of Templates: time 0.008851/0.9823, allocations: 5.107 MB / 1.215 GB, free: 11.36 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches