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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.267/2.267, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 180.8 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.742/1.742, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 91.84 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.925e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2971, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.423, allocations: 1.866 GB / 3.079 GB, free: 358.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/6.423, allocations: 89.08 kB / 3.079 GB, free: 358.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4035/6.827, allocations: 207.6 MB / 3.281 GB, free: 211.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.345e-06/6.827, allocations: 4 kB / 3.281 GB, free: 211.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.993e-05/6.827, allocations: 7.984 kB / 3.281 GB, free: 211.5 MB / 1.151 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.001155/6.828, allocations: 0.5579 MB / 3.282 GB, free: 210.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/6.828, allocations: 11.97 kB / 3.282 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/6.828, allocations: 35.58 kB / 3.282 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/6.828, allocations: 276.2 kB / 3.282 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/6.828, allocations: 11.98 kB / 3.282 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/6.829, allocations: 15.94 kB / 3.282 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002292/6.829, allocations: 99.91 kB / 3.282 GB, free: 210.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/6.829, allocations: 214.5 kB / 3.282 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/6.829, allocations: 0 / 3.282 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/6.829, allocations: 0 / 3.282 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/6.829, allocations: 11.95 kB / 3.283 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/6.83, allocations: 1.287 MB / 3.284 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/6.831, allocations: 155.7 kB / 3.284 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/6.831, allocations: 69.33 kB / 3.284 GB, free: 208.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/6.831, allocations: 121 kB / 3.284 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/6.831, allocations: 38.56 kB / 3.284 GB, free: 208.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/6.831, allocations: 4 kB / 3.284 GB, free: 208.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004465/6.832, allocations: 133.3 kB / 3.284 GB, free: 208.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/6.832, allocations: 183.9 kB / 3.284 GB, free: 208 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/6.832, allocations: 170.1 kB / 3.285 GB, free: 207.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/6.832, allocations: 25.7 kB / 3.285 GB, free: 207.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/6.832, allocations: 156.2 kB / 3.285 GB, free: 207.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/6.832, allocations: 39.45 kB / 3.285 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/6.832, allocations: 0 / 3.285 GB, free: 207.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/6.832, allocations: 330.8 kB / 3.285 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/6.832, allocations: 27.94 kB / 3.285 GB, free: 207.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/6.832, allocations: 107.6 kB / 3.285 GB, free: 207.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/6.832, allocations: 63.94 kB / 3.285 GB, free: 207 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.832, allocations: 0 / 3.285 GB, free: 207 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00027/6.833, allocations: 161.3 kB / 3.285 GB, free: 206.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/6.833, allocations: 13.77 kB / 3.285 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/6.833, allocations: 0 / 3.285 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/6.833, allocations: 11.92 kB / 3.285 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/6.833, allocations: 32.17 kB / 3.286 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/6.833, allocations: 0 / 3.286 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/6.833, allocations: 28.11 kB / 3.286 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/6.833, allocations: 11.98 kB / 3.286 GB, free: 206.8 MB / 1.151 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 () * 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 7.047e-05/6.833, allocations: 112.9 kB / 3.286 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/6.833, allocations: 19.81 kB / 3.286 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/6.833, allocations: 111.2 kB / 3.286 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/6.833, allocations: 0 / 3.286 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/6.833, allocations: 4 kB / 3.286 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/6.833, allocations: 0 / 3.286 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/6.834, allocations: 0.7267 MB / 3.287 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/6.834, allocations: 4 kB / 3.287 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/6.834, allocations: 23.98 kB / 3.287 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/6.834, allocations: 8.094 kB / 3.287 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/6.834, allocations: 4 kB / 3.287 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/6.834, allocations: 4 kB / 3.287 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/6.834, allocations: 0 / 3.287 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/6.835, allocations: 356.4 kB / 3.287 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/6.835, allocations: 100.9 kB / 3.287 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/6.835, allocations: 11.94 kB / 3.287 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/6.835, allocations: 12.06 kB / 3.287 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/6.835, allocations: 11.98 kB / 3.287 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/6.835, allocations: 4 kB / 3.287 GB, free: 205.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 8.419e-05/6.835, allocations: 139.2 kB / 3.287 GB, free: 205 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/6.835, allocations: 0 / 3.287 GB, free: 205 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00058/6.836, allocations: 123.8 kB / 3.287 GB, free: 204.8 MB / 1.151 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 () * 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.001864/6.838, allocations: 1.125 MB / 3.288 GB, free: 203.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001939/6.838, allocations: 79.91 kB / 3.288 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/6.838, allocations: 7.938 kB / 3.288 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/6.838, allocations: 39.94 kB / 3.288 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/6.838, allocations: 65.25 kB / 3.289 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/6.839, allocations: 346.9 kB / 3.289 GB, free: 203.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/6.839, allocations: 0.7634 MB / 3.29 GB, free: 202.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001283/6.839, allocations: 33.83 kB / 3.29 GB, free: 202.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/6.839, allocations: 19.44 kB / 3.29 GB, free: 202.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.81e-07/6.839, allocations: 0 / 3.29 GB, free: 202.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01247/6.852, allocations: 8.127 MB / 3.298 GB, free: 194.2 MB / 1.151 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