Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009555/0.009555, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001498/0.001498, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.84 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9733/0.9745, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002675/0.9772, allocations: 1.405 MB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.9783, allocations: 0.5881 MB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.9784, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.9784, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.9785, allocations: 7.922 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.9789, allocations: 99.56 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.979, allocations: 27.92 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.9791, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.9792, allocations: 15.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.9793, allocations: 11.94 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.9793, allocations: 0 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.9796, allocations: 151.7 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.9796, allocations: 3.984 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.9796, allocations: 11.94 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.9798, allocations: 93.7 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.9799, allocations: 7.938 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9799, allocations: 7.938 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.9799, allocations: 0 / 1.21 GB, free: 11.33 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.0005527/0.9804, allocations: 367.3 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.9805, allocations: 8.031 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.981, allocations: 24.91 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.9811, allocations: 172.4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.9811, allocations: 4.359 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.9811, allocations: 384 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.9814, allocations: 66.14 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.9814, allocations: 192 / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.9814, allocations: 7.938 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9814, allocations: 4 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.9817, allocations: 55.94 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.9822, allocations: 260.9 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.9825, allocations: 66.42 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.9826, allocations: 28.89 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.9826, allocations: 0 / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.9826, allocations: 38.56 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.9827, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005119/0.9832, allocations: 117.5 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.9832, allocations: 51.41 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.9833, allocations: 97.86 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.9834, allocations: 29.7 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.9834, allocations: 92.19 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.9834, allocations: 3.906 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.9835, allocations: 21.72 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.9836, allocations: 314.8 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.9838, allocations: 27.97 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.9839, allocations: 31.91 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.9841, allocations: 52.81 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9841, allocations: 0 / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002976/0.9844, allocations: 101.6 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9845, allocations: 4 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9845, allocations: 4 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.9845, allocations: 0 / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.9846, allocations: 15.92 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.9847, allocations: 0 / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.9847, allocations: 7.984 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9848, allocations: 0 / 1.212 GB, free: 9.07 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 (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 prepare postOptimizeDAE: time 7.94e-05/0.9848, allocations: 117.8 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.9849, allocations: 0 / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.9849, allocations: 15.05 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9849, allocations: 4 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.9849, allocations: 0 / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.985, allocations: 0 / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.9851, allocations: 161.6 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.9851, allocations: 4 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.9852, allocations: 11.98 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9853, allocations: 0 / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.9853, allocations: 7.984 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9853, allocations: 0 / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.9853, allocations: 0 / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.9857, allocations: 191.3 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.9857, allocations: 85.22 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.9857, allocations: 4 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.9858, allocations: 4 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.9859, allocations: 11.97 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.9859, allocations: 4 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.986, allocations: 79.31 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.986, allocations: 0 / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002477/0.9862, allocations: 12 kB / 1.213 GB, free: 8.277 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.0002355/0.9865, allocations: 111.2 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.9868, allocations: 67.88 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9868, allocations: 0 / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.987, allocations: 35.89 kB / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.9873, allocations: 3.938 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.9878, allocations: 134.7 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.9881, allocations: 0.6768 MB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.59e-05/0.9882, allocations: 11.94 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.9883, allocations: 15.42 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.9883, allocations: 0 / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.003452/0.9917, allocations: 0.7917 MB / 1.215 GB, free: 6.375 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches