Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001226/0.001226, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001328/0.001328, allocations: 168.7 kB / 15.95 MB, free: 204 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437.8 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 15.94 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.606, allocations: 153.8 MB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1465/0.7525, allocations: 146.5 MB / 1.165 GB, free: 13.26 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00491/0.7574, allocations: 4.223 MB / 1.17 GB, free: 9.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.7577, allocations: 7.938 kB / 1.17 GB, free: 9.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.7581, allocations: 87.34 kB / 1.17 GB, free: 8.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007622/0.7589, allocations: 258.8 kB / 1.17 GB, free: 8.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.7596, allocations: 223.5 kB / 1.17 GB, free: 8.465 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008431/0.7605, allocations: 0.6741 MB / 1.171 GB, free: 7.785 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.7608, allocations: 153.3 kB / 1.171 GB, free: 7.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.7617, allocations: 366.4 kB / 1.171 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.7621, allocations: 183.3 kB / 1.171 GB, free: 7.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.7621, allocations: 8 kB / 1.171 GB, free: 7.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.7623, allocations: 71.88 kB / 1.172 GB, free: 7.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.7624, allocations: 79.77 kB / 1.172 GB, free: 6.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.7625, allocations: 69.58 kB / 1.172 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.7627, allocations: 203.5 kB / 1.172 GB, free: 6.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7628, allocations: 0 / 1.172 GB, free: 6.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7628, allocations: 0 / 1.172 GB, free: 6.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.7628, allocations: 4 kB / 1.172 GB, free: 6.66 MB / 0.92 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.0007119/0.7635, allocations: 0.4907 MB / 1.172 GB, free: 6.121 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7635, allocations: 12.02 kB / 1.172 GB, free: 6.109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.7636, allocations: 27.72 kB / 1.172 GB, free: 6.082 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.764, allocations: 271.4 kB / 1.173 GB, free: 5.777 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.764, allocations: 16 kB / 1.173 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.7641, allocations: 16 kB / 1.173 GB, free: 5.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.7645, allocations: 281.6 kB / 1.173 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7646, allocations: 0 / 1.173 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.7646, allocations: 8 kB / 1.173 GB, free: 5.426 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.7646, allocations: 4 kB / 1.173 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.765, allocations: 159.8 kB / 1.173 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.7663, allocations: 1.379 MB / 1.174 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.7666, allocations: 183.7 kB / 1.175 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.7668, allocations: 101.1 kB / 1.175 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.7671, allocations: 129.1 kB / 1.175 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7671, allocations: 42.48 kB / 1.175 GB, free: 3.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.7672, allocations: 0 / 1.175 GB, free: 3.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0005836/0.7677, allocations: 225.7 kB / 1.175 GB, free: 3.023 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.7678, allocations: 183.9 kB / 1.175 GB, free: 2.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.7681, allocations: 291.2 kB / 1.176 GB, free: 2.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.7681, allocations: 29.7 kB / 1.176 GB, free: 2.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.7682, allocations: 155.7 kB / 1.176 GB, free: 2.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.7683, allocations: 35.61 kB / 1.176 GB, free: 2.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.7683, allocations: 0 / 1.176 GB, free: 2.285 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7684, allocations: 346.8 kB / 1.176 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.7685, allocations: 43.97 kB / 1.176 GB, free: 1.895 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.7687, allocations: 123.7 kB / 1.176 GB, free: 1.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.7689, allocations: 63.91 kB / 1.176 GB, free: 1.684 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7689, allocations: 4 kB / 1.176 GB, free: 1.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003563/0.7693, allocations: 197.2 kB / 1.177 GB, free: 1.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7693, allocations: 7.984 kB / 1.177 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7693, allocations: 4 kB / 1.177 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7693, allocations: 4 kB / 1.177 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.7694, allocations: 32.2 kB / 1.177 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7695, allocations: 4 kB / 1.177 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.7696, allocations: 35.67 kB / 1.177 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.7697, allocations: 8 kB / 1.177 GB, free: 1.387 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.7698, allocations: 157.5 kB / 1.177 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.7699, allocations: 23.72 kB / 1.177 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.7702, allocations: 147 kB / 1.177 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.7703, allocations: 0 / 1.177 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7703, allocations: 4 kB / 1.177 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.7703, allocations: 3.938 kB / 1.177 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.7711, allocations: 0.7691 MB / 1.178 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7711, allocations: 0 / 1.178 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.7712, allocations: 27.92 kB / 1.178 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.7712, allocations: 8.031 kB / 1.178 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.7713, allocations: 4.375 kB / 1.178 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.7713, allocations: 12.11 kB / 1.178 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7713, allocations: 4 kB / 1.178 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.7718, allocations: 347.4 kB / 1.178 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.7719, allocations: 112.8 kB / 1.178 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.7719, allocations: 3.984 kB / 1.178 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.7721, allocations: 12.06 kB / 1.178 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.7721, allocations: 23.88 kB / 1.178 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.7721, allocations: 4 kB / 1.178 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001872/0.7723, allocations: 206 kB / 1.178 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7723, allocations: 3.938 kB / 1.178 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000336/0.7727, allocations: 55.91 kB / 1.178 GB, free: 15.34 MB / 0.9356 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 (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.0002957/0.773, allocations: 143.7 kB / 1.179 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.7733, allocations: 132 kB / 1.179 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7733, allocations: 0 / 1.179 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.7735, allocations: 67.89 kB / 1.179 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.7742, allocations: 121.2 kB / 1.179 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.775, allocations: 0.5542 MB / 1.179 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.7753, allocations: 0.7599 MB / 1.18 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.7754, allocations: 50.25 kB / 1.18 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.7755, allocations: 27.42 kB / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.7755, allocations: 0 / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.00758/0.7831, allocations: 3.866 MB / 1.184 GB, free: 9.621 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches