Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004952, allocations: 16 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9962/0.9967, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001854/0.9987, allocations: 0.9916 MB / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.153/1.152, allocations: 124.8 MB / 1.144 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/1.152, allocations: 0 / 1.144 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/1.152, allocations: 0 / 1.144 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/1.152, allocations: 7.984 kB / 1.144 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/1.152, allocations: 103.7 kB / 1.144 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.508e-05/1.152, allocations: 15.97 kB / 1.144 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/1.152, allocations: 0 / 1.144 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/1.152, allocations: 11.92 kB / 1.144 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/1.152, allocations: 8 kB / 1.144 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/1.153, allocations: 0 / 1.144 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/1.153, allocations: 187.7 kB / 1.144 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/1.153, allocations: 0 / 1.144 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/1.153, allocations: 37.64 kB / 1.144 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/1.153, allocations: 73.83 kB / 1.144 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/1.153, allocations: 0 / 1.144 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.983e-06/1.153, allocations: 0 / 1.144 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.798e-06/1.153, allocations: 0 / 1.144 GB, free: 2.535 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003611/1.154, allocations: 351.3 kB / 1.144 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.154, allocations: 11.98 kB / 1.144 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/1.154, allocations: 39.94 kB / 1.144 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/1.154, allocations: 163 kB / 1.145 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/1.154, allocations: 4 kB / 1.145 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.154, allocations: 0 / 1.145 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.154, allocations: 53.59 kB / 1.145 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/1.154, allocations: 0 / 1.145 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.154, allocations: 0 / 1.145 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.154, allocations: 0 / 1.145 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/1.155, allocations: 23.92 kB / 1.145 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/1.155, allocations: 260.9 kB / 1.145 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/1.155, allocations: 22.58 kB / 1.145 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/1.155, allocations: 0 / 1.145 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/1.155, allocations: 38.56 kB / 1.145 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/1.155, allocations: 0 / 1.145 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001328/1.155, allocations: 41.61 kB / 1.145 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/1.155, allocations: 55.41 kB / 1.145 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/1.155, allocations: 113.8 kB / 1.145 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/1.155, allocations: 25.7 kB / 1.145 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/1.156, allocations: 84.08 kB / 1.145 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/1.156, allocations: 12.03 kB / 1.145 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/1.156, allocations: 0 / 1.145 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.156, allocations: 318.8 kB / 1.146 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/1.156, allocations: 7.984 kB / 1.146 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/1.156, allocations: 15.92 kB / 1.146 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/1.156, allocations: 11.98 kB / 1.146 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.156, allocations: 0 / 1.146 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001796/1.156, allocations: 61.61 kB / 1.146 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.156, allocations: 4 kB / 1.146 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/1.156, allocations: 0 / 1.146 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/1.156, allocations: 4 kB / 1.146 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/1.156, allocations: 7.984 kB / 1.146 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.156, allocations: 0 / 1.146 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.156, allocations: 19.98 kB / 1.146 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/1.156, allocations: 4 kB / 1.146 GB, free: 0.6016 MB / 0.8887 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.316e-05/1.157, allocations: 111.7 kB / 1.146 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/1.157, allocations: 7.906 kB / 1.146 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/1.157, allocations: 3.125 kB / 1.146 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.157, allocations: 3.984 kB / 1.146 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.157, allocations: 0 / 1.146 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.157, allocations: 0 / 1.146 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/1.157, allocations: 161.6 kB / 1.146 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.157, allocations: 4 kB / 1.146 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/1.157, allocations: 4 kB / 1.146 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/1.157, allocations: 0 / 1.146 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/1.157, allocations: 0 / 1.146 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.157, allocations: 0 / 1.146 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.157, allocations: 0 / 1.146 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.587e-05/1.157, allocations: 139.5 kB / 1.146 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/1.157, allocations: 85.06 kB / 1.146 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/1.157, allocations: 128 / 1.146 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/1.157, allocations: 12.27 kB / 1.146 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/1.157, allocations: 0 / 1.146 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/1.157, allocations: 0 / 1.146 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.425e-05/1.157, allocations: 95.2 kB / 1.146 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.157, allocations: 0 / 1.146 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002402/1.157, allocations: 12 kB / 1.146 GB, free: 15.88 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.0001877/1.158, allocations: 115.2 kB / 1.147 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001319/1.158, allocations: 23.92 kB / 1.147 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.158, allocations: 0 / 1.147 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/1.158, allocations: 4 kB / 1.147 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/1.158, allocations: 7.984 kB / 1.147 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/1.158, allocations: 134.6 kB / 1.147 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/1.159, allocations: 0.6809 MB / 1.147 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.656e-05/1.159, allocations: 11.95 kB / 1.147 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/1.159, allocations: 11.38 kB / 1.147 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/1.159, allocations: 0 / 1.147 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002844/1.162, allocations: 0.7038 MB / 1.148 GB, free: 14.14 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches