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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001149/0.001149, allocations: 181.1 kB / 498.1 MB, free: 5.684 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.662/1.662, allocations: 223.2 MB / 0.7949 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009217/0.0009218, allocations: 111.7 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006639/0.0006642, allocations: 8.438 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3092, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.5091, allocations: 151.2 MB / 1.371 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5093, allocations: 75.95 kB / 1.371 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008077/0.5174, allocations: 2.55 MB / 1.373 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5175, allocations: 0 / 1.373 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.5175, allocations: 0 / 1.373 GB, free: 15.51 MB / 0.8855 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.0005297/0.518, allocations: 407 kB / 1.374 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5181, allocations: 12.03 kB / 1.374 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.5181, allocations: 3.906 kB / 1.374 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.5183, allocations: 175 kB / 1.374 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.5183, allocations: 4 kB / 1.374 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.5183, allocations: 8 kB / 1.374 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.5186, allocations: 81.59 kB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5186, allocations: 0 / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.5187, allocations: 0 / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5187, allocations: 4 kB / 1.374 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.519, allocations: 87.92 kB / 1.374 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.5194, allocations: 288.8 kB / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.5196, allocations: 74.47 kB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.5198, allocations: 89.19 kB / 1.374 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5198, allocations: 34.56 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.5198, allocations: 0 / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.5204, allocations: 173.4 kB / 1.374 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5204, allocations: 59.28 kB / 1.375 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.5205, allocations: 109 kB / 1.375 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.5205, allocations: 25.7 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.5206, allocations: 88.14 kB / 1.375 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.5206, allocations: 7.969 kB / 1.375 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.5206, allocations: 0 / 1.375 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5208, allocations: 322.8 kB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5209, allocations: 39.97 kB / 1.375 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.5211, allocations: 47.95 kB / 1.375 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.5212, allocations: 39.97 kB / 1.375 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5212, allocations: 0 / 1.375 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/0.5215, allocations: 121.5 kB / 1.375 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5216, allocations: 4 kB / 1.375 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5216, allocations: 4 kB / 1.375 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5216, allocations: 4.312 kB / 1.375 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5217, allocations: 19.98 kB / 1.375 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5217, allocations: 7.891 kB / 1.375 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.5218, allocations: 19.92 kB / 1.375 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.5219, allocations: 8 kB / 1.375 GB, free: 12.96 MB / 0.8855 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 () * Number of clocked 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 8.733e-05/0.522, allocations: 111.4 kB / 1.375 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.522, allocations: 7.906 kB / 1.375 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.5224, allocations: 141.4 kB / 1.376 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5224, allocations: 0 / 1.376 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5224, allocations: 0 / 1.376 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.5224, allocations: 3.953 kB / 1.376 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.5226, allocations: 165.7 kB / 1.376 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5226, allocations: 0 / 1.376 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5227, allocations: 27.97 kB / 1.376 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5227, allocations: 0 / 1.376 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.5228, allocations: 0 / 1.376 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5228, allocations: 7.938 kB / 1.376 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5228, allocations: 0 / 1.376 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.5231, allocations: 215.4 kB / 1.376 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.5232, allocations: 88.94 kB / 1.376 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5232, allocations: 8 kB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.5233, allocations: 11.98 kB / 1.376 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.5234, allocations: 7.984 kB / 1.376 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.5234, allocations: 0 / 1.376 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.5235, allocations: 91.28 kB / 1.376 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5235, allocations: 4 kB / 1.376 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002807/0.5237, allocations: 35.92 kB / 1.376 GB, free: 11.95 MB / 0.8855 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 () * Number of clocked 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.0002538/0.524, allocations: 135 kB / 1.376 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.5244, allocations: 95.86 kB / 1.376 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5244, allocations: 0 / 1.376 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5245, allocations: 47.95 kB / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.5247, allocations: 12.89 kB / 1.377 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.5251, allocations: 166.6 kB / 1.377 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5253, allocations: 0.6848 MB / 1.377 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.5254, allocations: 8 kB / 1.377 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.5254, allocations: 19.31 kB / 1.377 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.5254, allocations: 0 / 1.377 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of Templates: time 0.003463/0.5289, allocations: 1.144 MB / 1.379 GB, free: 9.582 MB / 0.8855 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