Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [: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 7.0.3-maint.7.0.x/package.mo): time 1.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000938/0.000938, allocations: 173.3 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007662/0.0007662, allocations: 98.06 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.531e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.6073, allocations: 134.2 MB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.6075, allocations: 80.12 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009343/0.6169, allocations: 3.121 MB / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.6169, allocations: 0 / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004181/0.6173, allocations: 408.6 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6174, allocations: 12.03 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.6176, allocations: 35.69 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.6178, allocations: 186.3 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.6179, allocations: 41.62 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.6179, allocations: 7.984 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/0.6181, allocations: 45.25 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.6182, allocations: 78.83 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6182, allocations: 4 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6182, allocations: 0 / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6182, allocations: 0 / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.6187, allocations: 344.1 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.6192, allocations: 116.1 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.6192, allocations: 26.36 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.6193, allocations: 0 / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.6193, allocations: 38.5 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.6193, allocations: 4 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001797/0.6195, allocations: 75.59 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.6195, allocations: 55.41 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.6196, allocations: 108 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.6196, allocations: 25.7 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.6196, allocations: 99.53 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.6197, allocations: 22.72 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.6197, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.6198, allocations: 326 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.6198, allocations: 11.88 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.6199, allocations: 32.22 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.6199, allocations: 22.55 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.6199, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001174/0.6201, allocations: 78.34 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.6201, allocations: 8 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.6201, allocations: 0 / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6201, allocations: 4.031 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.6202, allocations: 19.98 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.6202, allocations: 0 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.6203, allocations: 8 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.6203, allocations: 4 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.932e-05/0.6204, allocations: 116.8 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.6205, allocations: 7.906 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.6205, allocations: 15.19 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6205, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.6205, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6205, allocations: 3.938 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.6207, allocations: 183.3 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.6207, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6208, allocations: 23.98 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.6208, allocations: 3.938 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.6208, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6208, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6208, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001381/0.621, allocations: 174.6 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.621, allocations: 85 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.621, allocations: 4 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6212, allocations: 15.98 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.6212, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.6213, allocations: 15.45 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.784e-05/0.6213, allocations: 89.66 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000217/0.6215, allocations: 20 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 9.368e-05/0.6216, allocations: 95.25 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.6218, allocations: 45.56 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.6218, allocations: 0 / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.6218, allocations: 23.19 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.622, allocations: 27.22 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.6224, allocations: 126.4 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.6226, allocations: 0.7114 MB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.6226, allocations: 0 / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.003036/0.6257, allocations: 1.321 MB / 1.024 GB, free: 12.59 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches