Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001134/0.001134, allocations: 192.4 kB / 487.4 MB, free: 5.043 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.419/1.419, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.0008461/0.0008464, allocations: 98.08 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.023e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.131/4.394, allocations: 1.712 GB / 2.918 GB, free: 145.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/4.394, allocations: 89.5 kB / 2.918 GB, free: 145.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.04842/4.443, allocations: 26.17 MB / 2.944 GB, free: 124.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/4.443, allocations: 0 / 2.944 GB, free: 124.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.194e-06/4.443, allocations: 3.938 kB / 2.944 GB, free: 124.3 MB / 1.151 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.0002703/4.443, allocations: 358.3 kB / 2.944 GB, free: 123.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/4.443, allocations: 8.562 kB / 2.944 GB, free: 123.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/4.444, allocations: 36.58 kB / 2.944 GB, free: 123.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/4.444, allocations: 159.1 kB / 2.944 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/4.444, allocations: 4 kB / 2.944 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/4.444, allocations: 1.531 kB / 2.944 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.687e-05/4.444, allocations: 7.984 kB / 2.944 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.045e-05/4.444, allocations: 53.36 kB / 2.944 GB, free: 123.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/4.444, allocations: 0 / 2.944 GB, free: 123.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/4.444, allocations: 7.891 kB / 2.944 GB, free: 123.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/4.444, allocations: 0 / 2.944 GB, free: 123.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/4.444, allocations: 225.3 kB / 2.945 GB, free: 123.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/4.444, allocations: 22.52 kB / 2.945 GB, free: 123.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/4.444, allocations: 8.922 kB / 2.945 GB, free: 123.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/4.444, allocations: 7.984 kB / 2.945 GB, free: 123.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/4.445, allocations: 34.66 kB / 2.945 GB, free: 123.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/4.445, allocations: 0 / 2.945 GB, free: 123.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0001382/4.445, allocations: 45.45 kB / 2.945 GB, free: 123.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/4.445, allocations: 55.41 kB / 2.945 GB, free: 123.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/4.445, allocations: 94.11 kB / 2.945 GB, free: 123.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/4.445, allocations: 25.7 kB / 2.945 GB, free: 123.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/4.445, allocations: 92.11 kB / 2.945 GB, free: 123 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-06/4.445, allocations: 7.891 kB / 2.945 GB, free: 122.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/4.445, allocations: 0 / 2.945 GB, free: 122.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/4.445, allocations: 318.1 kB / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/4.445, allocations: 4 kB / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/4.445, allocations: 4 kB / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/4.445, allocations: 7.984 kB / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/4.445, allocations: 0 / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.804e-05/4.445, allocations: 48.05 kB / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/4.445, allocations: 8 kB / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/4.445, allocations: 0 / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/4.445, allocations: 7.938 kB / 2.945 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/4.445, allocations: 15.73 kB / 2.945 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/4.445, allocations: 3.953 kB / 2.945 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/4.445, allocations: 11.91 kB / 2.945 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/4.445, allocations: 3.984 kB / 2.945 GB, free: 122.5 MB / 1.151 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 5.42e-05/4.445, allocations: 106 kB / 2.946 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/4.446, allocations: 0 / 2.946 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/4.446, allocations: 7.75 kB / 2.946 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/4.446, allocations: 0 / 2.946 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/4.446, allocations: 0 / 2.946 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/4.446, allocations: 3.953 kB / 2.946 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/4.446, allocations: 133.7 kB / 2.946 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/4.446, allocations: 0 / 2.946 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/4.446, allocations: 4 kB / 2.946 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/4.446, allocations: 0 / 2.946 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/4.446, allocations: 0 / 2.946 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/4.446, allocations: 4 kB / 2.946 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/4.446, allocations: 0 / 2.946 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/4.446, allocations: 138.9 kB / 2.946 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/4.446, allocations: 89.03 kB / 2.946 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/4.446, allocations: 0 / 2.946 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/4.446, allocations: 4 kB / 2.946 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/4.446, allocations: 4 kB / 2.946 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/4.446, allocations: 4.031 kB / 2.946 GB, free: 122 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.931e-05/4.446, allocations: 87.2 kB / 2.946 GB, free: 121.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/4.446, allocations: 0 / 2.946 GB, free: 121.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002923/4.446, allocations: 39.05 kB / 2.946 GB, free: 121.9 MB / 1.151 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 (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.0007913/4.447, allocations: 0.6592 MB / 2.947 GB, free: 121.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/4.447, allocations: 8 kB / 2.947 GB, free: 121.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/4.447, allocations: 4 kB / 2.947 GB, free: 121.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/4.447, allocations: 11.31 kB / 2.947 GB, free: 121.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/4.447, allocations: 11.94 kB / 2.947 GB, free: 121.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/4.448, allocations: 64.81 kB / 2.947 GB, free: 121.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/4.448, allocations: 0.6768 MB / 2.947 GB, free: 120.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 7.3e-05/4.448, allocations: 8.062 kB / 2.947 GB, free: 120.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/4.448, allocations: 11.44 kB / 2.948 GB, free: 120.4 MB / 1.151 GB Notification: Performance of SimCode: time 2e-07/4.448, allocations: 0 / 2.948 GB, free: 120.4 MB / 1.151 GB Notification: Performance of Templates: time 0.006288/4.454, allocations: 3.88 MB / 2.951 GB, free: 116.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches