Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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 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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 109.3 kB / 16.41 MB, free: 6.527 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.001291/0.001291, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.454/1.454, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.692/2.692, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9772/0.9786, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002337/0.981, allocations: 1.296 MB / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009797/0.982, allocations: 0.564 MB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.9821, allocations: 0 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.9821, allocations: 7.938 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.9821, allocations: 7.922 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.9825, allocations: 95.56 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.9826, allocations: 23.86 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.9826, allocations: 0 / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.9827, allocations: 7.938 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.9827, allocations: 4 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.9827, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.983, allocations: 151.8 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.9831, allocations: 0 / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.9831, allocations: 11.94 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.9833, allocations: 87.2 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9833, allocations: 3.938 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9833, allocations: 3.938 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.9833, allocations: 0 / 1.17 GB, free: 1.594 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003828/0.9837, allocations: 340.5 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.9837, allocations: 12.03 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.9842, allocations: 28.91 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.9843, allocations: 168.3 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.9843, allocations: 384 / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.9843, allocations: 384 / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.9845, allocations: 46.23 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.9845, allocations: 192 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9845, allocations: 3.938 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.9845, allocations: 11.98 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.9847, allocations: 19.98 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.9848, allocations: 169.6 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.985, allocations: 42.55 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.9851, allocations: 20.91 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.9851, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.9851, allocations: 34.5 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.9852, allocations: 0 / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003059/0.9855, allocations: 81.62 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.9855, allocations: 55.41 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.9856, allocations: 93.86 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.9856, allocations: 25.7 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.9857, allocations: 84.12 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.9857, allocations: 7.953 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.9857, allocations: 13.72 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.9859, allocations: 314.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.986, allocations: 16.02 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.9861, allocations: 11.98 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.9862, allocations: 32.78 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9862, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.9864, allocations: 69.84 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.9864, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9864, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.9864, allocations: 3.938 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.9865, allocations: 11.97 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.9865, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.9866, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.9866, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 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.363e-05/0.9867, allocations: 117.9 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.9867, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.9868, allocations: 11.05 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9868, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9868, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.9869, allocations: 85.06 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.9869, allocations: 3.984 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.987, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.987, allocations: 4 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002421/0.9872, allocations: 140.9 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002608/0.9875, allocations: 234.8 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.929e-05/0.9876, allocations: 15.98 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.9876, allocations: 75.28 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of Backend: time 4.3e-07/0.9876, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005731/0.9882, allocations: 146.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006523/0.9889, allocations: 0.562 MB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.004351/0.9932, allocations: 1.471 MB / 1.174 GB, free: 12.72 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches