Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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 1.923/1.923, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.00109/0.00109, allocations: 181.2 kB / 487 MB, free: 5.305 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.43/1.43, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.001139/0.00114, allocations: 98.52 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.131e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2559, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6714/0.9273, allocations: 175.1 MB / 1.376 GB, free: 15.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.9275, allocations: 71.52 kB / 1.376 GB, free: 15.68 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.003484/0.931, allocations: 1.349 MB / 1.378 GB, free: 14.56 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.931, allocations: 4 kB / 1.378 GB, free: 14.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002457/0.9313, allocations: 310.5 kB / 1.378 GB, free: 14.21 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.9313, allocations: 13.02 kB / 1.378 GB, free: 14.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.9314, allocations: 3.906 kB / 1.378 GB, free: 14.19 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.9315, allocations: 171 kB / 1.378 GB, free: 13.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.9316, allocations: 29.45 kB / 1.378 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.9316, allocations: 4 kB / 1.378 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.123e-05/0.9316, allocations: 8.188 kB / 1.378 GB, free: 13.94 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.643e-05/0.9317, allocations: 37.62 kB / 1.378 GB, free: 13.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.9317, allocations: 0 / 1.378 GB, free: 13.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.9317, allocations: 0 / 1.378 GB, free: 13.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.9317, allocations: 3.906 kB / 1.378 GB, free: 13.89 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.9319, allocations: 135 kB / 1.378 GB, free: 13.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.078e-05/0.9319, allocations: 25.67 kB / 1.378 GB, free: 13.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.932, allocations: 8.859 kB / 1.378 GB, free: 13.69 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.9321, allocations: 93.19 kB / 1.378 GB, free: 13.58 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.9322, allocations: 34.56 kB / 1.378 GB, free: 13.54 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.9322, allocations: 0 / 1.378 GB, free: 13.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001734/0.9324, allocations: 49.33 kB / 1.378 GB, free: 13.49 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.9324, allocations: 55.41 kB / 1.379 GB, free: 13.42 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.9325, allocations: 92.73 kB / 1.379 GB, free: 13.33 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.9325, allocations: 33.64 kB / 1.379 GB, free: 13.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.9325, allocations: 80.14 kB / 1.379 GB, free: 13.21 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.9326, allocations: 11.89 kB / 1.379 GB, free: 13.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.9326, allocations: 0 / 1.379 GB, free: 13.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9327, allocations: 310.8 kB / 1.379 GB, free: 12.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.9327, allocations: 7.625 kB / 1.379 GB, free: 12.88 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.9327, allocations: 0 / 1.379 GB, free: 12.88 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.9328, allocations: 11.98 kB / 1.379 GB, free: 12.87 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9328, allocations: 0 / 1.379 GB, free: 12.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.843e-05/0.9329, allocations: 50.94 kB / 1.379 GB, free: 12.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.9329, allocations: 8 kB / 1.379 GB, free: 12.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9329, allocations: 0 / 1.379 GB, free: 12.81 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9329, allocations: 3.938 kB / 1.379 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.933, allocations: 4 kB / 1.379 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.933, allocations: 0 / 1.379 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.933, allocations: 7.984 kB / 1.379 GB, free: 12.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.9331, allocations: 0 / 1.379 GB, free: 12.79 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 5.997e-05/0.9331, allocations: 101 kB / 1.379 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.9331, allocations: 11.91 kB / 1.379 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.9333, allocations: 45.23 kB / 1.379 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9333, allocations: 10.48 kB / 1.379 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.9333, allocations: 0 / 1.379 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9333, allocations: 0 / 1.379 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.224e-05/0.9334, allocations: 134.8 kB / 1.379 GB, free: 12.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.9334, allocations: 0 / 1.379 GB, free: 12.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.9334, allocations: 11.92 kB / 1.379 GB, free: 12.44 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.9335, allocations: 0 / 1.379 GB, free: 12.44 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.9335, allocations: 0 / 1.379 GB, free: 12.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9335, allocations: 4 kB / 1.379 GB, free: 12.44 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9335, allocations: 4 kB / 1.379 GB, free: 12.43 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001089/0.9336, allocations: 68.97 kB / 1.379 GB, free: 12.35 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.9337, allocations: 81.09 kB / 1.38 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.9337, allocations: 0 / 1.38 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.9337, allocations: 7.812 kB / 1.38 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.9338, allocations: 0 / 1.38 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.9338, allocations: 3.938 kB / 1.38 GB, free: 12.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.894e-05/0.9338, allocations: 87.69 kB / 1.38 GB, free: 12.16 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001761/0.934, allocations: 11.94 kB / 1.38 GB, free: 12.15 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.0001927/0.9342, allocations: 146 kB / 1.38 GB, free: 12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.9343, allocations: 19.69 kB / 1.38 GB, free: 11.99 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9343, allocations: 0 / 1.38 GB, free: 11.99 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.9343, allocations: 7.688 kB / 1.38 GB, free: 11.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.9344, allocations: 15.83 kB / 1.38 GB, free: 11.97 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001607/0.9346, allocations: 55.92 kB / 1.38 GB, free: 11.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.9349, allocations: 0.6879 MB / 1.381 GB, free: 11.18 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.9349, allocations: 0 / 1.381 GB, free: 11.18 MB / 0.823 GB Notification: Performance of Templates: time 0.002445/0.9374, allocations: 0.7301 MB / 1.381 GB, free: 10.46 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches