Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001189, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 195.1 kB / 16.53 MB, free: 6.672 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 66.16 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4651, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1796/0.6448, allocations: 161.4 MB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00581/0.6507, allocations: 4.556 MB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.6512, allocations: 11.88 kB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.6519, allocations: 119.1 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.6528, allocations: 326.4 kB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.6537, allocations: 282.6 kB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.6543, allocations: 0.5534 MB / 1.231 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.6547, allocations: 201.2 kB / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009836/0.6557, allocations: 462.2 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.656, allocations: 187.3 kB / 1.232 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.656, allocations: 20 kB / 1.232 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.6562, allocations: 79.88 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6563, allocations: 91.72 kB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.6565, allocations: 123.4 kB / 1.233 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.6568, allocations: 287.1 kB / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6568, allocations: 0 / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6569, allocations: 0 / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.6569, allocations: 4 kB / 1.233 GB, free: 1.191 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009303/0.6578, allocations: 0.5256 MB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6579, allocations: 12.03 kB / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.6579, allocations: 27.66 kB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.6583, allocations: 279.3 kB / 1.234 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.6584, allocations: 16 kB / 1.234 GB, free: 256 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.6584, allocations: 19.94 kB / 1.234 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.6589, allocations: 262 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.6589, allocations: 3.938 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.659, allocations: 11.94 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.659, allocations: 4 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.6593, allocations: 147.8 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.6607, allocations: 1.379 MB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.661, allocations: 171.7 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.6612, allocations: 97.11 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.6615, allocations: 117 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.6616, allocations: 50.44 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.264e-06/0.6616, allocations: 0 / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.00063/0.6622, allocations: 213.7 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.6624, allocations: 183.9 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.6627, allocations: 287 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.6627, allocations: 29.7 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.6628, allocations: 143.9 kB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.6629, allocations: 43.52 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.6629, allocations: 29.72 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6631, allocations: 338.8 kB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.6632, allocations: 47.95 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.6634, allocations: 115.6 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.6637, allocations: 158.7 kB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6637, allocations: 0 / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003579/0.6641, allocations: 185.5 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6641, allocations: 7.938 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.6641, allocations: 4 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6642, allocations: 4.219 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.6643, allocations: 43.91 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.6643, allocations: 4 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.6645, allocations: 27.67 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.6645, allocations: 12 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001529/0.6647, allocations: 145.7 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6648, allocations: 27.66 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.6652, allocations: 135 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.6652, allocations: 4 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6652, allocations: 3.938 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6652, allocations: 4 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.666, allocations: 0.7729 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.666, allocations: 4 kB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.6661, allocations: 23.97 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6662, allocations: 4 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.6662, allocations: 0 / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.6662, allocations: 7.938 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6662, allocations: 3.938 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.6667, allocations: 343.5 kB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.6668, allocations: 104.8 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.6669, allocations: 8.062 kB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.667, allocations: 11.98 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.667, allocations: 11.98 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.6671, allocations: 8 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001998/0.6673, allocations: 209.9 kB / 1.239 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6673, allocations: 0 / 1.239 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003467/0.6676, allocations: 56 kB / 1.24 GB, free: 9.789 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003629/0.668, allocations: 139.5 kB / 1.24 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.6684, allocations: 127.8 kB / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6684, allocations: 0 / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.6685, allocations: 64.45 kB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.6693, allocations: 131.5 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.6701, allocations: 496.1 kB / 1.24 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.6704, allocations: 0.7517 MB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.6706, allocations: 58.23 kB / 1.241 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.6706, allocations: 27.31 kB / 1.241 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.6707, allocations: 0 / 1.241 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of Templates: time 0.008414/0.6791, allocations: 4.22 MB / 1.245 GB, free: 3.809 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches