Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001531/0.001531, allocations: 186.6 kB / 498.1 MB, free: 5.738 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.796/1.796, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009946/0.0009947, allocations: 100.3 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 13.19 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2915, allocations: 142.4 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.313/4.605, allocations: 1.866 GB / 3.089 GB, free: 83.71 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/4.605, allocations: 88.02 kB / 3.089 GB, free: 83.67 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/5.84, allocations: 210.6 MB / 3.295 GB, free: 357.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.835e-06/5.84, allocations: 0 / 3.295 GB, free: 357.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.853e-05/5.84, allocations: 8 kB / 3.295 GB, free: 357.5 MB / 1.167 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.001591/5.841, allocations: 0.5924 MB / 3.295 GB, free: 356.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/5.842, allocations: 12.03 kB / 3.295 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/5.842, allocations: 28.92 kB / 3.295 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/5.842, allocations: 281.3 kB / 3.296 GB, free: 356.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/5.842, allocations: 12 kB / 3.296 GB, free: 356.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/5.842, allocations: 27.95 kB / 3.296 GB, free: 356.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/5.843, allocations: 258.2 kB / 3.296 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/5.843, allocations: 0 / 3.296 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/5.843, allocations: 8 kB / 3.296 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/5.843, allocations: 7.938 kB / 3.296 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/5.843, allocations: 157 kB / 3.296 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/5.845, allocations: 1.364 MB / 3.297 GB, free: 354.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/5.845, allocations: 191.5 kB / 3.298 GB, free: 354.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/5.846, allocations: 117.1 kB / 3.298 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/5.846, allocations: 38.62 kB / 3.298 GB, free: 354.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/5.846, allocations: 0 / 3.298 GB, free: 354.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0006482/5.846, allocations: 217.5 kB / 3.298 GB, free: 353.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/5.846, allocations: 188.2 kB / 3.298 GB, free: 353.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/5.847, allocations: 254.2 kB / 3.298 GB, free: 353.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/5.847, allocations: 29.7 kB / 3.298 GB, free: 353.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/5.847, allocations: 148.2 kB / 3.299 GB, free: 353.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/5.847, allocations: 35.45 kB / 3.299 GB, free: 353.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/5.847, allocations: 4 kB / 3.299 GB, free: 353.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001012/5.847, allocations: 338.8 kB / 3.299 GB, free: 352.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/5.847, allocations: 51.97 kB / 3.299 GB, free: 352.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/5.847, allocations: 122 kB / 3.299 GB, free: 352.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/5.847, allocations: 59.97 kB / 3.299 GB, free: 352.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/5.847, allocations: 0 / 3.299 GB, free: 352.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003682/5.848, allocations: 201.1 kB / 3.299 GB, free: 352.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/5.848, allocations: 4 kB / 3.299 GB, free: 352.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/5.848, allocations: 4.219 kB / 3.299 GB, free: 352.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/5.848, allocations: 8 kB / 3.299 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/5.848, allocations: 31.92 kB / 3.299 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/5.848, allocations: 4 kB / 3.299 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/5.848, allocations: 35.73 kB / 3.299 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/5.848, allocations: 7.984 kB / 3.299 GB, free: 352.3 MB / 1.167 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.0001355/5.848, allocations: 153.7 kB / 3.3 GB, free: 352.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/5.849, allocations: 27.72 kB / 3.3 GB, free: 352.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/5.849, allocations: 134.9 kB / 3.3 GB, free: 351.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/5.849, allocations: 4 kB / 3.3 GB, free: 351.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/5.849, allocations: 4 kB / 3.3 GB, free: 351.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/5.849, allocations: 4.438 kB / 3.3 GB, free: 351.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/5.85, allocations: 0.7613 MB / 3.3 GB, free: 351.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/5.85, allocations: 3.938 kB / 3.3 GB, free: 351.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/5.85, allocations: 32.14 kB / 3.301 GB, free: 351.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/5.85, allocations: 7.984 kB / 3.301 GB, free: 351.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/5.85, allocations: 0 / 3.301 GB, free: 351.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/5.85, allocations: 4 kB / 3.301 GB, free: 351.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/5.85, allocations: 3.953 kB / 3.301 GB, free: 351 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/5.85, allocations: 407.9 kB / 3.301 GB, free: 350.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/5.851, allocations: 108.8 kB / 3.301 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/5.851, allocations: 11.98 kB / 3.301 GB, free: 350.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/5.851, allocations: 16.05 kB / 3.301 GB, free: 350.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/5.851, allocations: 7.953 kB / 3.301 GB, free: 350.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/5.851, allocations: 4 kB / 3.301 GB, free: 350.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001697/5.851, allocations: 209.9 kB / 3.301 GB, free: 350.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.851, allocations: 0 / 3.301 GB, free: 350.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007408/5.852, allocations: 144 kB / 3.301 GB, free: 350.1 MB / 1.167 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.001581/5.853, allocations: 0.9906 MB / 3.302 GB, free: 349.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003485/5.854, allocations: 128.1 kB / 3.302 GB, free: 349 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/5.854, allocations: 0 / 3.302 GB, free: 349 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/5.854, allocations: 63.83 kB / 3.303 GB, free: 348.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/5.854, allocations: 125.1 kB / 3.303 GB, free: 348.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/5.855, allocations: 0.5481 MB / 3.303 GB, free: 348.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/5.856, allocations: 0.7638 MB / 3.304 GB, free: 347.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001722/5.856, allocations: 54.5 kB / 3.304 GB, free: 347.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/5.856, allocations: 23.44 kB / 3.304 GB, free: 347.3 MB / 1.167 GB Notification: Performance of SimCode: time 5.31e-07/5.856, allocations: 0 / 3.304 GB, free: 347.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02353/5.879, allocations: 16.12 MB / 3.32 GB, free: 331.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches