Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_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.045/2.045, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001035/0.001035, allocations: 177.3 kB / 487 MB, free: 5.387 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.237/1.237, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.000965/0.0009649, allocations: 94.94 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.743e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2359, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6739/0.9099, allocations: 150.4 MB / 1.352 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.9101, allocations: 72.84 kB / 1.352 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.008279/0.9184, allocations: 2.268 MB / 1.354 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9185, allocations: 0.9375 kB / 1.354 GB, free: 15.71 MB / 0.8073 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.0004589/0.9189, allocations: 398.7 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.919, allocations: 13.69 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.919, allocations: 5.656 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.9191, allocations: 170.9 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.9191, allocations: 1.844 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.9192, allocations: 6.188 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.889e-05/0.9193, allocations: 18.53 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.9194, allocations: 51.7 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.9194, allocations: 0 / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.9194, allocations: 4 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.9194, allocations: 4.875 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.9198, allocations: 250.6 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.692e-05/0.9198, allocations: 34.02 kB / 1.355 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.9199, allocations: 15 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.92, allocations: 99.7 kB / 1.355 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.9201, allocations: 31.59 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.9201, allocations: 0 / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0003801/0.9205, allocations: 75.53 kB / 1.356 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.9205, allocations: 52.89 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.9206, allocations: 103.8 kB / 1.356 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.9206, allocations: 29.64 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.9206, allocations: 86.64 kB / 1.356 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.9206, allocations: 17.73 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.9206, allocations: 0.9062 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.9207, allocations: 313.5 kB / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.9207, allocations: 11.92 kB / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.9208, allocations: 8.375 kB / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.921, allocations: 37.73 kB / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.921, allocations: 0 / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000272/0.9213, allocations: 86.95 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.9213, allocations: 5.906 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.9213, allocations: 0 / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9213, allocations: 1.125 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.9215, allocations: 30.25 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9215, allocations: 4 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.694e-05/0.9216, allocations: 18.19 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.9216, allocations: 4.922 kB / 1.356 GB, free: 14 MB / 0.8073 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 4.644e-05/0.9217, allocations: 107.3 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.9217, allocations: 10.52 kB / 1.356 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.922, allocations: 85.53 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.922, allocations: 0.8125 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9221, allocations: 0.8438 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9221, allocations: 1.172 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.9222, allocations: 150.2 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9222, allocations: 1.438 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.9223, allocations: 29.05 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.9223, allocations: 0 / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.9223, allocations: 0.75 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9224, allocations: 4.906 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9224, allocations: 1.875 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002849/0.9227, allocations: 181.3 kB / 1.357 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.9227, allocations: 82.61 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.9227, allocations: 0.7188 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.9228, allocations: 17.8 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.9229, allocations: 8.906 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.9229, allocations: 4.688 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.71e-05/0.9229, allocations: 84.75 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002913/0.9232, allocations: 37.91 kB / 1.357 GB, free: 13.35 MB / 0.8073 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.0002126/0.9235, allocations: 132 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.9236, allocations: 25.86 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9236, allocations: 1.641 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.9236, allocations: 16.41 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.9238, allocations: 14.78 kB / 1.357 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.9241, allocations: 74.23 kB / 1.357 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.9244, allocations: 0.6958 MB / 1.358 GB, free: 28.47 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/0.9244, allocations: 1.125 kB / 1.358 GB, free: 28.47 MB / 0.823 GB Notification: Performance of Templates: time 0.004094/0.9285, allocations: 1.183 MB / 1.359 GB, free: 28.37 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches