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 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.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.001345/0.001345, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001386/0.001386, allocations: 177.3 kB / 15.94 MB, free: 228 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.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.574/2.574, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 12 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6014, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1466/0.748, allocations: 135.5 MB / 1.153 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004236/0.7523, allocations: 3.679 MB / 1.157 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.7526, allocations: 7.938 kB / 1.157 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.7531, allocations: 155.3 kB / 1.157 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.7538, allocations: 283.1 kB / 1.157 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.7547, allocations: 361.4 kB / 1.157 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.7552, allocations: 335.7 kB / 1.158 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.7555, allocations: 165.2 kB / 1.158 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005945/0.7561, allocations: 291.1 kB / 1.158 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.7563, allocations: 135.5 kB / 1.158 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.7563, allocations: 12 kB / 1.158 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.7565, allocations: 55.95 kB / 1.158 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.7566, allocations: 75.78 kB / 1.159 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.7566, allocations: 69.58 kB / 1.159 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.7569, allocations: 207.5 kB / 1.159 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.7569, allocations: 0 / 1.159 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7569, allocations: 0 / 1.159 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7569, allocations: 0 / 1.159 GB, free: 3.453 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000713/0.7576, allocations: 0.4984 MB / 1.159 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.7577, allocations: 15.98 kB / 1.159 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.7578, allocations: 27.66 kB / 1.159 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.7581, allocations: 267.5 kB / 1.16 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.7582, allocations: 12 kB / 1.16 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.7582, allocations: 24 kB / 1.16 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.7586, allocations: 277.8 kB / 1.16 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7586, allocations: 3.938 kB / 1.16 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.7587, allocations: 8 kB / 1.16 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7587, allocations: 4 kB / 1.16 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.759, allocations: 156.3 kB / 1.16 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.7603, allocations: 1.379 MB / 1.161 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.7606, allocations: 183.7 kB / 1.162 GB, free: 356 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/0.761, allocations: 129 kB / 1.162 GB, free: 208 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.761, allocations: 42.62 kB / 1.162 GB, free: 156 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.761, allocations: 0 / 1.162 GB, free: 156 kB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006157/0.7616, allocations: 221.6 kB / 1.162 GB, free: 15.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.7617, allocations: 196.1 kB / 1.162 GB, free: 15.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.762, allocations: 283 kB / 1.162 GB, free: 15.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.762, allocations: 29.7 kB / 1.162 GB, free: 15.38 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.7621, allocations: 147.8 kB / 1.163 GB, free: 15.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.7622, allocations: 31.55 kB / 1.163 GB, free: 15.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.7622, allocations: 4 kB / 1.163 GB, free: 15.19 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7623, allocations: 338.8 kB / 1.163 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.7624, allocations: 55.95 kB / 1.163 GB, free: 14.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.7626, allocations: 121.8 kB / 1.163 GB, free: 14.65 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.7628, allocations: 63.97 kB / 1.163 GB, free: 14.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7628, allocations: 0 / 1.163 GB, free: 14.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003863/0.7632, allocations: 205.1 kB / 1.163 GB, free: 14.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7632, allocations: 4 kB / 1.163 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7632, allocations: 4 kB / 1.163 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7633, allocations: 4.219 kB / 1.163 GB, free: 14.37 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.7634, allocations: 35.92 kB / 1.163 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7634, allocations: 4 kB / 1.163 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.7636, allocations: 27.73 kB / 1.163 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.7636, allocations: 15.98 kB / 1.163 GB, free: 14.29 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.0001259/0.7638, allocations: 141.8 kB / 1.164 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.7639, allocations: 27.72 kB / 1.164 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.7642, allocations: 147.3 kB / 1.164 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7643, allocations: 0 / 1.164 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7643, allocations: 4 kB / 1.164 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.7643, allocations: 3.984 kB / 1.164 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.7651, allocations: 0.7807 MB / 1.165 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7651, allocations: 0 / 1.165 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.7652, allocations: 23.98 kB / 1.165 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.7653, allocations: 8.156 kB / 1.165 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.7653, allocations: 0 / 1.165 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.7653, allocations: 7.984 kB / 1.165 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7653, allocations: 3.953 kB / 1.165 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.7658, allocations: 415.9 kB / 1.165 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.7659, allocations: 108.8 kB / 1.165 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.766, allocations: 4 kB / 1.165 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.7661, allocations: 19.92 kB / 1.165 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.7662, allocations: 16 kB / 1.165 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.7662, allocations: 4 kB / 1.165 GB, free: 12.42 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001901/0.7664, allocations: 205.9 kB / 1.165 GB, free: 12.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7664, allocations: 0 / 1.165 GB, free: 12.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003482/0.7668, allocations: 63.84 kB / 1.165 GB, free: 12.16 MB / 0.92 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.0003338/0.7671, allocations: 138.6 kB / 1.165 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.7675, allocations: 131.8 kB / 1.166 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7675, allocations: 0 / 1.166 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.7677, allocations: 72.59 kB / 1.166 GB, free: 11.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.7684, allocations: 128.1 kB / 1.166 GB, free: 11.7 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/0.7692, allocations: 0.5505 MB / 1.166 GB, free: 11.11 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.7696, allocations: 0.7638 MB / 1.167 GB, free: 10.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.7697, allocations: 46.25 kB / 1.167 GB, free: 10.28 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.7698, allocations: 23.44 kB / 1.167 GB, free: 10.25 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.7698, allocations: 0 / 1.167 GB, free: 10.25 MB / 0.92 GB Notification: Performance of Templates: time 0.007395/0.7772, allocations: 3.864 MB / 1.171 GB, free: 6.449 MB / 0.92 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","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches