Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.036/2.036, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001075/0.001075, allocations: 185.2 kB / 490.8 MB, free: 1.898 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.514/1.514, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.001024/0.001024, allocations: 106.4 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.174e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2562, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.332/4.588, allocations: 1.913 GB / 3.124 GB, free: 403.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/4.589, allocations: 91.53 kB / 3.125 GB, free: 403.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.451/6.04, allocations: 442.4 MB / 3.557 GB, free: 294.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.181e-05/6.04, allocations: 18.64 kB / 3.557 GB, free: 294.3 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001691/6.041, allocations: 0.8318 MB / 3.557 GB, free: 294 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/6.041, allocations: 8.781 kB / 3.557 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/6.042, allocations: 169.1 kB / 3.558 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/6.044, allocations: 0.6859 MB / 3.558 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/6.044, allocations: 11.38 kB / 3.558 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/6.044, allocations: 20.97 kB / 3.558 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004235/6.044, allocations: 254.3 kB / 3.559 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/6.045, allocations: 369.6 kB / 3.559 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/6.045, allocations: 0 / 3.559 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/6.045, allocations: 3.938 kB / 3.559 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/6.045, allocations: 13.97 kB / 3.559 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/6.047, allocations: 1.925 MB / 3.561 GB, free: 292.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/6.047, allocations: 182.5 kB / 3.561 GB, free: 292.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/6.047, allocations: 122.3 kB / 3.561 GB, free: 292.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/6.048, allocations: 313.7 kB / 3.561 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/6.048, allocations: 34.12 kB / 3.561 GB, free: 292 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/6.048, allocations: 0 / 3.561 GB, free: 292 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.0009242/6.049, allocations: 407.1 kB / 3.562 GB, free: 291.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/6.049, allocations: 55.38 kB / 3.562 GB, free: 291.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/6.049, allocations: 227.5 kB / 3.562 GB, free: 291.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/6.049, allocations: 29.55 kB / 3.562 GB, free: 291.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/6.049, allocations: 203.3 kB / 3.562 GB, free: 291.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/6.049, allocations: 82 kB / 3.562 GB, free: 291.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/6.049, allocations: 0 / 3.562 GB, free: 291.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/6.049, allocations: 343.3 kB / 3.563 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/6.049, allocations: 84.53 kB / 3.563 GB, free: 291.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/6.049, allocations: 179.8 kB / 3.563 GB, free: 291.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/6.05, allocations: 225.5 kB / 3.563 GB, free: 291.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/6.05, allocations: 3.781 kB / 3.563 GB, free: 291.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006653/6.05, allocations: 408.2 kB / 3.564 GB, free: 291.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/6.051, allocations: 5.562 kB / 3.564 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/6.051, allocations: 7.438 kB / 3.564 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/6.051, allocations: 3.875 kB / 3.564 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/6.051, allocations: 64.58 kB / 3.564 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/6.051, allocations: 3.812 kB / 3.564 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/6.051, allocations: 39.09 kB / 3.564 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/6.051, allocations: 14.83 kB / 3.564 GB, free: 291.1 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 (31): * Single equations (assignments): 31 * 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 8.256e-05/6.051, allocations: 116.6 kB / 3.564 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/6.051, allocations: 34.62 kB / 3.564 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007821/6.052, allocations: 419 kB / 3.564 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/6.052, allocations: 6.844 kB / 3.564 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/6.052, allocations: 0 / 3.564 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/6.052, allocations: 3.844 kB / 3.564 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/6.053, allocations: 0.9386 MB / 3.565 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/6.054, allocations: 7.688 kB / 3.565 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/6.054, allocations: 47.97 kB / 3.565 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/6.054, allocations: 3.875 kB / 3.565 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/6.054, allocations: 3.625 kB / 3.565 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/6.054, allocations: 7.312 kB / 3.565 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/6.054, allocations: 3.625 kB / 3.565 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009417/6.055, allocations: 0.7492 MB / 3.566 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/6.055, allocations: 130.5 kB / 3.566 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/6.055, allocations: 3.906 kB / 3.566 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/6.055, allocations: 25.48 kB / 3.566 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/6.055, allocations: 22.81 kB / 3.566 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/6.055, allocations: 7.656 kB / 3.566 GB, free: 290.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001406/6.056, allocations: 179.6 kB / 3.566 GB, free: 290.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008519/6.056, allocations: 228.3 kB / 3.567 GB, free: 290.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002466/6.059, allocations: 1.722 MB / 3.568 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004185/6.059, allocations: 228.1 kB / 3.568 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/6.059, allocations: 6.469 kB / 3.568 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/6.059, allocations: 122 kB / 3.569 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/6.06, allocations: 111.1 kB / 3.569 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/6.061, allocations: 0.5637 MB / 3.569 GB, free: 289.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/6.062, allocations: 0.8768 MB / 3.57 GB, free: 288.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/6.062, allocations: 0 / 3.57 GB, free: 288.7 MB / 1.151 GB Notification: Performance of Templates: time 0.02152/6.083, allocations: 14.06 MB / 3.584 GB, free: 288.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches