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.099/2.099, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001064/0.001063, allocations: 180.9 kB / 487.4 MB, free: 5.039 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.496/1.496, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.001054/0.001054, allocations: 97.94 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.539e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2534, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8278/1.081, allocations: 150.5 MB / 1.353 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/1.082, allocations: 73.48 kB / 1.353 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008056/1.09, allocations: 2.535 MB / 1.355 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.09, allocations: 0 / 1.355 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.09, allocations: 4 kB / 1.355 GB, free: 33.98 MB / 0.8386 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.0004418/1.09, allocations: 392.8 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.09, allocations: 7.75 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/1.09, allocations: 7.719 kB / 1.356 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.398e-05/1.09, allocations: 176.8 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/1.09, allocations: 4 kB / 1.356 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/1.09, allocations: 0 / 1.356 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.647e-05/1.09, allocations: 26.25 kB / 1.356 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.238e-05/1.09, allocations: 44.59 kB / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/1.09, allocations: 0 / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/1.091, allocations: 0 / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.091, allocations: 3.875 kB / 1.356 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/1.091, allocations: 264.7 kB / 1.356 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/1.091, allocations: 34.39 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/1.091, allocations: 11.95 kB / 1.356 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/1.091, allocations: 88.72 kB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/1.091, allocations: 34.91 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.091, allocations: 0 / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003357/1.091, allocations: 77.47 kB / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/1.091, allocations: 59.81 kB / 1.357 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/1.092, allocations: 105.3 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/1.092, allocations: 25.7 kB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/1.092, allocations: 89.11 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/1.092, allocations: 10.03 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/1.092, allocations: 0 / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.092, allocations: 316.1 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/1.092, allocations: 15.56 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/1.092, allocations: 8 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/1.092, allocations: 28.19 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.092, allocations: 0 / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002285/1.092, allocations: 84.91 kB / 1.357 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.092, allocations: 4.5 kB / 1.357 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.092, allocations: 0 / 1.357 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.092, allocations: 0 / 1.357 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.092, allocations: 28.89 kB / 1.357 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.093, allocations: 0 / 1.357 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/1.093, allocations: 16.75 kB / 1.357 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.093, allocations: 9.219 kB / 1.357 GB, free: 32.27 MB / 0.8386 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 6.148e-05/1.093, allocations: 101.6 kB / 1.357 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/1.093, allocations: 8.156 kB / 1.357 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/1.093, allocations: 85.33 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.093, allocations: 3.844 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.093, allocations: 2.922 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.093, allocations: 3.938 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/1.093, allocations: 151 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.093, allocations: 0 / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.093, allocations: 20.95 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/1.093, allocations: 4 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/1.093, allocations: 0.7969 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.093, allocations: 7.922 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.093, allocations: 7.812 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/1.094, allocations: 168 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/1.094, allocations: 85.64 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/1.094, allocations: 0.6562 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/1.094, allocations: 20.75 kB / 1.358 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/1.094, allocations: 2.391 kB / 1.358 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/1.094, allocations: 3.844 kB / 1.358 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.938e-05/1.094, allocations: 87.05 kB / 1.358 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.094, allocations: 0 / 1.358 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002471/1.094, allocations: 36.34 kB / 1.358 GB, free: 31.62 MB / 0.8386 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.0001956/1.094, allocations: 139.8 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.605e-05/1.094, allocations: 22.83 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.094, allocations: 0 / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/1.094, allocations: 11.95 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/1.095, allocations: 12.03 kB / 1.358 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/1.095, allocations: 68.3 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.095, allocations: 0.6911 MB / 1.359 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.12e-05/1.095, allocations: 0.7031 kB / 1.359 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/1.095, allocations: 11.28 kB / 1.359 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.095, allocations: 0 / 1.359 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of Templates: time 0.002979/1.098, allocations: 1.041 MB / 1.36 GB, free: 30.63 MB / 0.8386 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