Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.199/1.199, allocations: 249.4 MB / 256.7 MB, free: 7.129 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.001034/0.001033, allocations: 181.2 kB / 316 MB, free: 3.52 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.044/1.044, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.0008381/0.0008381, allocations: 85.98 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.384e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.6071, allocations: 158.5 MB / 1.039 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.6073, allocations: 77.33 kB / 1.039 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.003461/0.6108, allocations: 1.301 MB / 1.041 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6108, allocations: 0 / 1.041 GB, free: 10.96 MB / 0.6667 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.0002588/0.6111, allocations: 318.4 kB / 1.041 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6111, allocations: 8.031 kB / 1.041 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.6112, allocations: 4 kB / 1.041 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.6113, allocations: 171 kB / 1.041 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.6114, allocations: 36.8 kB / 1.041 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.6114, allocations: 4 kB / 1.041 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.561e-05/0.6115, allocations: 4 kB / 1.041 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.027e-05/0.6115, allocations: 33.69 kB / 1.041 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6116, allocations: 2.562 kB / 1.041 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6116, allocations: 4.875 kB / 1.041 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6116, allocations: 3.984 kB / 1.041 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.6117, allocations: 129.8 kB / 1.041 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.6118, allocations: 30.42 kB / 1.041 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.6118, allocations: 16.58 kB / 1.041 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.612, allocations: 89.2 kB / 1.042 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.612, allocations: 34.55 kB / 1.042 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.612, allocations: 0 / 1.042 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.000172/0.6122, allocations: 41.69 kB / 1.042 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.6122, allocations: 51.41 kB / 1.042 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.6123, allocations: 103.8 kB / 1.042 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.6123, allocations: 25.7 kB / 1.042 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.6123, allocations: 84.14 kB / 1.042 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.6124, allocations: 7.781 kB / 1.042 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.6124, allocations: 0 / 1.042 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.6125, allocations: 318.7 kB / 1.042 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.6125, allocations: 4 kB / 1.042 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.6125, allocations: 4 kB / 1.042 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.6126, allocations: 7.375 kB / 1.042 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6126, allocations: 4 kB / 1.042 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.273e-05/0.6126, allocations: 45.67 kB / 1.042 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.6127, allocations: 4 kB / 1.042 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.6127, allocations: 0 / 1.042 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.6127, allocations: 0 / 1.042 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.6128, allocations: 7.688 kB / 1.042 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6128, allocations: 0 / 1.042 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.6128, allocations: 7.906 kB / 1.042 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.6128, allocations: 0 / 1.042 GB, free: 9.195 MB / 0.6667 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.436e-05/0.6129, allocations: 108.9 kB / 1.042 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.6129, allocations: 7.984 kB / 1.042 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.613, allocations: 49 kB / 1.042 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.613, allocations: 3.906 kB / 1.042 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.613, allocations: 0 / 1.042 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6131, allocations: 0 / 1.042 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.074e-05/0.6131, allocations: 130.2 kB / 1.043 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.6131, allocations: 0 / 1.043 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.6132, allocations: 4.75 kB / 1.043 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6132, allocations: 3.984 kB / 1.043 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.6132, allocations: 4 kB / 1.043 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6132, allocations: 4 kB / 1.043 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6132, allocations: 0 / 1.043 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.854e-05/0.6133, allocations: 75.45 kB / 1.043 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.6134, allocations: 85.06 kB / 1.043 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.6134, allocations: 7.969 kB / 1.043 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.6134, allocations: 4 kB / 1.043 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.6135, allocations: 6.734 kB / 1.043 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.6135, allocations: 0 / 1.043 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.035e-05/0.6135, allocations: 82.72 kB / 1.043 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001738/0.6137, allocations: 11.94 kB / 1.043 GB, free: 8.547 MB / 0.6667 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.0002021/0.6139, allocations: 139.2 kB / 1.043 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 6.755e-05/0.614, allocations: 15.55 kB / 1.043 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.614, allocations: 0 / 1.043 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.614, allocations: 11.88 kB / 1.043 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.6142, allocations: 11.5 kB / 1.043 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.6143, allocations: 51.92 kB / 1.043 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.6146, allocations: 0.6876 MB / 1.044 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of SimCode: time 2.11e-07/0.6146, allocations: 0 / 1.044 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of Templates: time 0.0025/0.6171, allocations: 0.7252 MB / 1.044 GB, free: 6.879 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches