Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [: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 9.1.1-maint.9.1.x/package.mo): time 2/2, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001045/0.001045, allocations: 173.3 kB / 487 MB, free: 5.406 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.243/1.243, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000864/0.0008639, allocations: 103.8 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.613e-06/6.653e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2391, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6902/0.9294, allocations: 175.6 MB / 1.377 GB, free: 15.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.9297, allocations: 75.88 kB / 1.377 GB, free: 15.32 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005362/0.9351, allocations: 1.898 MB / 1.379 GB, free: 13.72 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.9351, allocations: 0 / 1.379 GB, free: 13.72 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004466/0.9355, allocations: 374.2 kB / 1.379 GB, free: 13.32 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.9356, allocations: 16.03 kB / 1.379 GB, free: 13.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.9356, allocations: 0 / 1.379 GB, free: 13.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.9358, allocations: 171 kB / 1.379 GB, free: 13.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.9358, allocations: 0 / 1.379 GB, free: 13.09 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.9358, allocations: 4 kB / 1.379 GB, free: 13.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.924e-05/0.9359, allocations: 22.94 kB / 1.379 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.936, allocations: 48.81 kB / 1.379 GB, free: 13.03 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.936, allocations: 0 / 1.379 GB, free: 13.03 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.936, allocations: 0 / 1.379 GB, free: 13.03 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.9361, allocations: 3.906 kB / 1.379 GB, free: 13.02 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.9365, allocations: 254.7 kB / 1.379 GB, free: 12.75 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.9366, allocations: 33.39 kB / 1.38 GB, free: 12.71 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.9366, allocations: 16.3 kB / 1.38 GB, free: 12.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.9368, allocations: 97.12 kB / 1.38 GB, free: 12.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.9368, allocations: 30.56 kB / 1.38 GB, free: 12.55 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.9368, allocations: 0 / 1.38 GB, free: 12.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002524/0.9371, allocations: 57.16 kB / 1.38 GB, free: 12.49 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.9371, allocations: 51.41 kB / 1.38 GB, free: 12.43 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.9372, allocations: 104.9 kB / 1.38 GB, free: 12.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.9372, allocations: 25.7 kB / 1.38 GB, free: 12.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.9373, allocations: 88.02 kB / 1.38 GB, free: 12.21 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.9373, allocations: 15.8 kB / 1.38 GB, free: 12.19 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.9373, allocations: 4 kB / 1.38 GB, free: 12.19 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9375, allocations: 314.7 kB / 1.38 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.9375, allocations: 7.938 kB / 1.38 GB, free: 11.87 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.9375, allocations: 7.688 kB / 1.38 GB, free: 11.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.9376, allocations: 21.27 kB / 1.38 GB, free: 11.85 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9376, allocations: 0 / 1.38 GB, free: 11.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001204/0.9377, allocations: 55.78 kB / 1.38 GB, free: 11.79 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9377, allocations: 6.812 kB / 1.38 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9377, allocations: 0 / 1.38 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.9378, allocations: 4 kB / 1.38 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.9379, allocations: 27.97 kB / 1.38 GB, free: 11.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.9379, allocations: 0 / 1.38 GB, free: 11.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.938, allocations: 19.98 kB / 1.38 GB, free: 11.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.938, allocations: 0 / 1.38 GB, free: 11.74 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.824e-05/0.9381, allocations: 105 kB / 1.381 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.9381, allocations: 3.906 kB / 1.381 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.9383, allocations: 69.72 kB / 1.381 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9383, allocations: 4 kB / 1.381 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9383, allocations: 2.062 kB / 1.381 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9383, allocations: 0 / 1.381 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.9385, allocations: 152.7 kB / 1.381 GB, free: 11.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9385, allocations: 4 kB / 1.381 GB, free: 11.37 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.9388, allocations: 24.86 kB / 1.381 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.9388, allocations: 384 / 1.381 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.9389, allocations: 0 / 1.381 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.9389, allocations: 0 / 1.381 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9389, allocations: 0 / 1.381 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003266/0.9392, allocations: 167 kB / 1.381 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.9393, allocations: 81.02 kB / 1.381 GB, free: 11.08 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.9393, allocations: 4 kB / 1.381 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.9396, allocations: 23.92 kB / 1.381 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.9396, allocations: 7.984 kB / 1.381 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.9397, allocations: 0 / 1.381 GB, free: 11.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.981e-05/0.9397, allocations: 87.09 kB / 1.381 GB, free: 10.96 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003323/0.9401, allocations: 19.94 kB / 1.381 GB, free: 10.94 MB / 0.823 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 (3): * Single equations (assignments): 3 * 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.0002633/0.9403, allocations: 150.3 kB / 1.381 GB, free: 10.79 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.9405, allocations: 18.94 kB / 1.381 GB, free: 10.78 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9405, allocations: 0 / 1.381 GB, free: 10.78 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.9405, allocations: 15.75 kB / 1.381 GB, free: 10.77 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.9407, allocations: 11.89 kB / 1.381 GB, free: 10.76 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.941, allocations: 79.14 kB / 1.381 GB, free: 10.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.9414, allocations: 0.6993 MB / 1.382 GB, free: 9.941 MB / 0.823 GB Notification: Performance of SimCode: time 3.51e-07/0.9414, allocations: 0 / 1.382 GB, free: 9.941 MB / 0.823 GB Notification: Performance of Templates: time 0.003929/0.9453, allocations: 1.031 MB / 1.383 GB, free: 8.926 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches