Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.0017/0.0017, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.00186/0.00186, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 469.8 MB / 0.743 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 60.72 kB / 0.9092 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3275, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002541/0.3301, allocations: 1.284 MB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6375/0.9676, allocations: 147.6 MB / 1.21 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.9677, allocations: 3.938 kB / 1.21 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.9677, allocations: 0 / 1.21 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.9678, allocations: 9.016 kB / 1.21 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.9682, allocations: 122 kB / 1.21 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.9683, allocations: 16.66 kB / 1.21 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.9684, allocations: 6.266 kB / 1.21 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.9684, allocations: 7.594 kB / 1.21 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.9685, allocations: 11.41 kB / 1.21 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.9685, allocations: 1.094 kB / 1.21 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.9689, allocations: 171 kB / 1.21 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.9689, allocations: 3.984 kB / 1.21 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.9689, allocations: 12.25 kB / 1.21 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.9692, allocations: 107.4 kB / 1.211 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9692, allocations: 1.5 kB / 1.211 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9692, allocations: 0 / 1.211 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.9692, allocations: 0 / 1.211 GB, free: 14.03 MB / 0.9356 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.0003788/0.9696, allocations: 357.9 kB / 1.211 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.9696, allocations: 9.469 kB / 1.211 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005343/0.9701, allocations: 34.8 kB / 1.211 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.9703, allocations: 169.6 kB / 1.211 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.9703, allocations: 3.938 kB / 1.211 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.9703, allocations: 1.375 kB / 1.211 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.9705, allocations: 53.34 kB / 1.211 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.9705, allocations: 1.344 kB / 1.211 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.9705, allocations: 0 / 1.211 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9705, allocations: 2.062 kB / 1.211 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.9707, allocations: 15.73 kB / 1.211 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.9711, allocations: 257.6 kB / 1.211 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.9711, allocations: 24.08 kB / 1.211 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.9712, allocations: 13.45 kB / 1.211 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.9712, allocations: 0 / 1.211 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.9712, allocations: 31.88 kB / 1.211 GB, free: 13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.9712, allocations: 0 / 1.211 GB, free: 13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.9714, allocations: 46.97 kB / 1.211 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.9714, allocations: 56.72 kB / 1.212 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.9716, allocations: 111.8 kB / 1.212 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.9716, allocations: 25.7 kB / 1.212 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.9717, allocations: 89.09 kB / 1.212 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.9717, allocations: 4.938 kB / 1.212 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.9717, allocations: 29.75 kB / 1.212 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9719, allocations: 320.2 kB / 1.212 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.972, allocations: 8.953 kB / 1.212 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.972, allocations: 10.44 kB / 1.212 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.614e-05/0.9721, allocations: 22.41 kB / 1.212 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9721, allocations: 5.062 kB / 1.212 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.9724, allocations: 66.81 kB / 1.212 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.9724, allocations: 6.125 kB / 1.212 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9724, allocations: 3.938 kB / 1.212 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.9724, allocations: 0 / 1.212 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.9725, allocations: 10.48 kB / 1.212 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.9725, allocations: 1.375 kB / 1.212 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.9727, allocations: 5.031 kB / 1.212 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.9727, allocations: 10.61 kB / 1.212 GB, free: 12.21 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/0.9728, allocations: 113 kB / 1.212 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.9728, allocations: 1.219 kB / 1.212 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.9728, allocations: 7.125 kB / 1.212 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9729, allocations: 1.312 kB / 1.212 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9729, allocations: 0 / 1.212 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.9729, allocations: 0 / 1.212 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.973, allocations: 153.7 kB / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9731, allocations: 0 / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.9731, allocations: 2.719 kB / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9731, allocations: 1.094 kB / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.9731, allocations: 4.875 kB / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9731, allocations: 1.188 kB / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.9731, allocations: 3.984 kB / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.9733, allocations: 140.4 kB / 1.213 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.9733, allocations: 82.14 kB / 1.213 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.9734, allocations: 5.141 kB / 1.213 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.9735, allocations: 5.281 kB / 1.213 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.9735, allocations: 5.188 kB / 1.213 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.9735, allocations: 0 / 1.213 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001137/0.9736, allocations: 95.3 kB / 1.213 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9736, allocations: 0 / 1.213 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002464/0.9739, allocations: 12.97 kB / 1.213 GB, free: 11.55 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001693/0.974, allocations: 112.1 kB / 1.213 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.9742, allocations: 28.08 kB / 1.213 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9742, allocations: 0 / 1.213 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.9742, allocations: 3.594 kB / 1.213 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.9745, allocations: 14.67 kB / 1.213 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.9748, allocations: 136.3 kB / 1.213 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.9752, allocations: 0.6802 MB / 1.214 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.9752, allocations: 9.562 kB / 1.214 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.9752, allocations: 1.094 kB / 1.214 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.002394/0.9776, allocations: 0.8125 MB / 1.215 GB, free: 10.17 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches