Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001788/0.001788, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002061/0.002061, allocations: 191.3 kB / 16.25 MB, free: 6.621 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.469/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001995, allocations: 67.88 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6055, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002442/0.608, allocations: 1.346 MB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.7736, allocations: 145.5 MB / 1.16 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.7737, allocations: 4 kB / 1.16 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.7737, allocations: 0 / 1.16 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.7738, allocations: 11.92 kB / 1.16 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.7742, allocations: 99.61 kB / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.7742, allocations: 15.88 kB / 1.16 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.7743, allocations: 4 kB / 1.16 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.7743, allocations: 11.94 kB / 1.16 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.7744, allocations: 7.984 kB / 1.16 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.7744, allocations: 7.938 kB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.7748, allocations: 175.6 kB / 1.161 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.7748, allocations: 4 kB / 1.161 GB, free: 15 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.7748, allocations: 11.94 kB / 1.161 GB, free: 14.99 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.775, allocations: 113.7 kB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7751, allocations: 0 / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7751, allocations: 0 / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7751, allocations: 0 / 1.161 GB, free: 14.88 MB / 0.92 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.0003578/0.7754, allocations: 347.5 kB / 1.161 GB, free: 14.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.7755, allocations: 8.031 kB / 1.161 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.776, allocations: 40.89 kB / 1.161 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.7762, allocations: 172.2 kB / 1.161 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7762, allocations: 3.938 kB / 1.161 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.7762, allocations: 0 / 1.161 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.7764, allocations: 49.66 kB / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7764, allocations: 4 kB / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.7764, allocations: 0 / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.7764, allocations: 4 kB / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.7766, allocations: 15.98 kB / 1.161 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.7769, allocations: 248.9 kB / 1.162 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.777, allocations: 38.44 kB / 1.162 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.777, allocations: 8.922 kB / 1.162 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.7771, allocations: 0 / 1.162 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7771, allocations: 34.56 kB / 1.162 GB, free: 13.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.7771, allocations: 0 / 1.162 GB, free: 13.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001385/0.7772, allocations: 45.69 kB / 1.162 GB, free: 13.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.7773, allocations: 55.34 kB / 1.162 GB, free: 13.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.7774, allocations: 114 kB / 1.162 GB, free: 13.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.7775, allocations: 25.7 kB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.7775, allocations: 91.98 kB / 1.162 GB, free: 13.4 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.7775, allocations: 0 / 1.162 GB, free: 13.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.7776, allocations: 21.61 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7777, allocations: 322.8 kB / 1.162 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.7778, allocations: 12 kB / 1.162 GB, free: 13.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.7779, allocations: 7.984 kB / 1.162 GB, free: 13.03 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.487e-05/0.778, allocations: 24.84 kB / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.778, allocations: 0 / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001896/0.7782, allocations: 57.89 kB / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7782, allocations: 9.875 kB / 1.162 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7782, allocations: 4 kB / 1.162 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7782, allocations: 8.016 kB / 1.162 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.7783, allocations: 8 kB / 1.162 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.7783, allocations: 3.938 kB / 1.162 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.7785, allocations: 11.92 kB / 1.162 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.7785, allocations: 0 / 1.162 GB, free: 12.9 MB / 0.92 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.076e-05/0.7786, allocations: 114.6 kB / 1.162 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.7786, allocations: 8 kB / 1.162 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.7787, allocations: 3.125 kB / 1.162 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.7787, allocations: 0 / 1.162 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7787, allocations: 0 / 1.162 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.7787, allocations: 7.938 kB / 1.162 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.7788, allocations: 149.7 kB / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7789, allocations: 4 kB / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.7789, allocations: 0 / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7789, allocations: 0 / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.7789, allocations: 4 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7789, allocations: 3.938 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7789, allocations: 4 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.779, allocations: 139.4 kB / 1.163 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.7791, allocations: 81.02 kB / 1.163 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.7791, allocations: 4 kB / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.7792, allocations: 3.984 kB / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.7792, allocations: 0 / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.7793, allocations: 7.938 kB / 1.163 GB, free: 12.28 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.774e-05/0.7794, allocations: 95.3 kB / 1.163 GB, free: 12.19 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7794, allocations: 0 / 1.163 GB, free: 12.19 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002402/0.7796, allocations: 12 kB / 1.163 GB, free: 12.18 MB / 0.92 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.0001682/0.7798, allocations: 115.2 kB / 1.163 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.7799, allocations: 23.92 kB / 1.163 GB, free: 12.03 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7799, allocations: 4 kB / 1.163 GB, free: 12.03 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.78, allocations: 4 kB / 1.163 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.7803, allocations: 15.98 kB / 1.163 GB, free: 12.01 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.7806, allocations: 119.1 kB / 1.163 GB, free: 11.87 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.7809, allocations: 0.6768 MB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.898e-05/0.781, allocations: 12 kB / 1.164 GB, free: 11.15 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.781, allocations: 11.44 kB / 1.164 GB, free: 11.14 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.781, allocations: 0 / 1.164 GB, free: 11.14 MB / 0.92 GB Notification: Performance of Templates: time 0.003159/0.7842, allocations: 0.728 MB / 1.165 GB, free: 10.42 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches