Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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 1.968/1.968, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001027/0.001027, allocations: 177.3 kB / 487 MB, free: 5.32 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.256/1.256, allocations: 221.3 MB / 0.7819 GB, free: 1.301 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.0008867/0.0008867, allocations: 87.92 kB / 0.9213 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.085e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2628, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7175/0.9803, allocations: 150.1 MB / 1.352 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.9805, allocations: 81.28 kB / 1.352 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.008159/0.9887, allocations: 2.392 MB / 1.354 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.9887, allocations: 1 kB / 1.354 GB, free: 15.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003022/0.989, allocations: 353 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.9891, allocations: 11.16 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.9891, allocations: 10.41 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.9892, allocations: 162 kB / 1.355 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/0.9893, allocations: 30.83 kB / 1.355 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.9893, allocations: 0.8125 kB / 1.355 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.213e-05/0.9894, allocations: 20.55 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.358e-05/0.9895, allocations: 38.55 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.9895, allocations: 1 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.9895, allocations: 0 / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9895, allocations: 4.969 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.9896, allocations: 136.5 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.9898, allocations: 36.89 kB / 1.355 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.9899, allocations: 13.73 kB / 1.355 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.9902, allocations: 183.7 kB / 1.355 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.9902, allocations: 40.77 kB / 1.355 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9902, allocations: 0.75 kB / 1.355 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0005717/0.9908, allocations: 106.5 kB / 1.355 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.9908, allocations: 52.95 kB / 1.355 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.9909, allocations: 87.88 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.9909, allocations: 27.05 kB / 1.356 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.258e-05/0.9909, allocations: 80.14 kB / 1.356 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.9909, allocations: 18.56 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.9909, allocations: 0 / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.991, allocations: 320.9 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.991, allocations: 4.594 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.991, allocations: 8.109 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.9915, allocations: 60.39 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9915, allocations: 0.9688 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005161/0.992, allocations: 103.7 kB / 1.356 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.992, allocations: 11.69 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.992, allocations: 0.75 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.9921, allocations: 0.9688 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.9921, allocations: 7.406 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.9921, allocations: 1.172 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.9922, allocations: 6 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.9922, allocations: 1.531 kB / 1.356 GB, free: 13.73 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 (4): * Single equations (assignments): 4 * 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.796e-05/0.9923, allocations: 106.7 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.9923, allocations: 2.25 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.9928, allocations: 118.7 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9928, allocations: 0.75 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9928, allocations: 1.578 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.9928, allocations: 3.938 kB / 1.356 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.278e-05/0.9929, allocations: 141 kB / 1.356 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.9929, allocations: 0 / 1.356 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.993, allocations: 7.766 kB / 1.356 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.993, allocations: 1.391 kB / 1.356 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.993, allocations: 4.594 kB / 1.356 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.993, allocations: 4 kB / 1.356 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.993, allocations: 1.734 kB / 1.356 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003962/0.9934, allocations: 126.5 kB / 1.357 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.9934, allocations: 86 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.9935, allocations: 1.406 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.9935, allocations: 3.406 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.9936, allocations: 3.469 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.9936, allocations: 5.469 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.927e-05/0.9936, allocations: 85.62 kB / 1.357 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002313/0.9938, allocations: 37.89 kB / 1.357 GB, free: 13.16 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 (4): * Single equations (assignments): 4 * 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.0002176/0.9941, allocations: 143 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.592e-05/0.9941, allocations: 18.42 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9942, allocations: 0 / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.9942, allocations: 16.41 kB / 1.357 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.9943, allocations: 16.25 kB / 1.357 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/0.9945, allocations: 56.05 kB / 1.357 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.9946, allocations: 0.6896 MB / 1.358 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.9947, allocations: 0 / 1.358 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.003273/0.9979, allocations: 1.038 MB / 1.359 GB, free: 12.17 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches