Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 11 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.001186/0.001186, allocations: 183.9 kB / 0.4902 GB, free: 2.23 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.615/1.615, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009777/0.0009777, allocations: 102.4 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003909, allocations: 10.53 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2778, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4612, allocations: 152 MB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4615, allocations: 75.95 kB / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008203/0.4697, allocations: 2.552 MB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4697, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.4697, allocations: 0 / 1.38 GB, free: 14.78 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.0005173/0.4703, allocations: 403.1 kB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4703, allocations: 8.031 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.4704, allocations: 7.906 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4705, allocations: 163 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4705, allocations: 8 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.4705, allocations: 0 / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.4708, allocations: 93.58 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4708, allocations: 0 / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4708, allocations: 3.938 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4709, allocations: 0 / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.4712, allocations: 91.92 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.4716, allocations: 288.7 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.4718, allocations: 68.3 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.472, allocations: 89.19 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.472, allocations: 46.55 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.472, allocations: 0 / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.000539/0.4726, allocations: 157.5 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4726, allocations: 55.34 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.4727, allocations: 116.9 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.4727, allocations: 29.7 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.4728, allocations: 96.09 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.4728, allocations: 3.906 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.4728, allocations: 8 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4729, allocations: 310.8 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.4731, allocations: 47.95 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.4732, allocations: 39.97 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4734, allocations: 43.95 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4734, allocations: 0 / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000329/0.4737, allocations: 121.9 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4738, allocations: 8 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4738, allocations: 3.984 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4738, allocations: 0 / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4739, allocations: 27.92 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4739, allocations: 3.953 kB / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.474, allocations: 19.97 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.474, allocations: 0 / 1.383 GB, free: 12.23 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.102e-05/0.4741, allocations: 114.6 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4742, allocations: 0 / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.4745, allocations: 137.5 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4746, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4746, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4746, allocations: 7.891 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4747, allocations: 177.5 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4747, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4749, allocations: 19.98 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4749, allocations: 3.938 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4749, allocations: 0 / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4749, allocations: 7.984 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4749, allocations: 0 / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.4753, allocations: 215.4 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.4753, allocations: 88.95 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4754, allocations: 0 / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.4755, allocations: 19.97 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.4755, allocations: 8 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.4756, allocations: 4 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.4756, allocations: 91.27 kB / 1.383 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4756, allocations: 0 / 1.383 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002759/0.4759, allocations: 32 kB / 1.383 GB, free: 11.23 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.0002392/0.4761, allocations: 127.2 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.4765, allocations: 95.86 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4765, allocations: 7.938 kB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4767, allocations: 51.95 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.4769, allocations: 9.578 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.4772, allocations: 174.4 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.4774, allocations: 0.6887 MB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.4775, allocations: 3.984 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.4775, allocations: 11.44 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of SimCode: time 4.3e-07/0.4775, allocations: 0 / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of Templates: time 0.003365/0.4809, allocations: 1.144 MB / 1.386 GB, free: 8.863 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches