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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.618/2.618, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001118/0.001118, allocations: 173.1 kB / 498.1 MB, free: 5.754 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.648/1.648, allocations: 223.2 MB / 0.7949 GB, free: 17.87 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.000924/0.0009242, allocations: 99.95 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004481, allocations: 9.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3615, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.5855, allocations: 150.9 MB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.586, allocations: 83.95 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.5974, allocations: 2.708 MB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5975, allocations: 4 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.5975, allocations: 0 / 1.373 GB, free: 8.348 MB / 0.8698 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.0005527/0.598, allocations: 359.2 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.5981, allocations: 8.031 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.5982, allocations: 11.86 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.5984, allocations: 167 kB / 1.374 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.5985, allocations: 29.7 kB / 1.374 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.5985, allocations: 0 / 1.374 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.5987, allocations: 45.69 kB / 1.374 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.5987, allocations: 0 / 1.374 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.5988, allocations: 0 / 1.374 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5988, allocations: 4 kB / 1.374 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.5989, allocations: 19.92 kB / 1.374 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.5992, allocations: 157.6 kB / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.5995, allocations: 50.59 kB / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.5998, allocations: 182.3 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.5999, allocations: 38.53 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.5999, allocations: 0 / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0003417/0.6003, allocations: 65.62 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.6003, allocations: 59.39 kB / 1.374 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.6004, allocations: 93 kB / 1.374 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.6005, allocations: 25.7 kB / 1.374 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.6005, allocations: 80.14 kB / 1.374 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.6006, allocations: 15.75 kB / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.6006, allocations: 0 / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.6008, allocations: 322.8 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.6009, allocations: 4 kB / 1.375 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.6009, allocations: 11.98 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/0.601, allocations: 16 kB / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.601, allocations: 0 / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000192/0.6012, allocations: 61.61 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6013, allocations: 11.94 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6013, allocations: 0 / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.6013, allocations: 0 / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.6014, allocations: 4 kB / 1.375 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.6014, allocations: 4 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.6014, allocations: 0 / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.6015, allocations: 4 kB / 1.375 GB, free: 6.281 MB / 0.8698 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 (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 0.000114/0.6016, allocations: 121.8 kB / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.6016, allocations: 7.844 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.6019, allocations: 73.09 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.6019, allocations: 0 / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6019, allocations: 0 / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6019, allocations: 0 / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.6021, allocations: 157.6 kB / 1.375 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6021, allocations: 8 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.6021, allocations: 4 kB / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6021, allocations: 0 / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.6022, allocations: 0 / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6022, allocations: 7.984 kB / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6022, allocations: 0 / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.6024, allocations: 85.08 kB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.6025, allocations: 85.7 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.6025, allocations: 3.938 kB / 1.375 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.6026, allocations: 4 kB / 1.375 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.6026, allocations: 3.984 kB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.6027, allocations: 4 kB / 1.375 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.6027, allocations: 83.27 kB / 1.375 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6027, allocations: 0 / 1.375 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004237/0.6032, allocations: 35.94 kB / 1.375 GB, free: 5.504 MB / 0.8698 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 (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.0003187/0.6035, allocations: 154.9 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.6037, allocations: 31.97 kB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6037, allocations: 0 / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.6038, allocations: 15.94 kB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.604, allocations: 7.984 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.6044, allocations: 152.1 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.6047, allocations: 0.677 MB / 1.376 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.343e-05/0.6048, allocations: 4 kB / 1.376 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.6048, allocations: 11.44 kB / 1.376 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/0.6048, allocations: 0 / 1.376 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of Templates: time 0.004299/0.6091, allocations: 0.9231 MB / 1.377 GB, free: 3.469 MB / 0.8698 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