Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001647/0.001647, allocations: 111.5 kB / 16.42 MB, free: 6.465 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.001675/0.001676, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.504/1.504, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 64.08 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 140.4 MB / 1.089 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002345/1.036, allocations: 1.288 MB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001016/1.038, allocations: 0.5639 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/1.038, allocations: 0 / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/1.038, allocations: 4.547 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/1.038, allocations: 10.77 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/1.038, allocations: 93.66 kB / 1.091 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/1.038, allocations: 17.69 kB / 1.091 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/1.038, allocations: 3.953 kB / 1.091 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/1.038, allocations: 13.2 kB / 1.091 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/1.038, allocations: 11.28 kB / 1.091 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/1.038, allocations: 1.188 kB / 1.091 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/1.039, allocations: 133.5 kB / 1.091 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/1.039, allocations: 5.062 kB / 1.091 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/1.039, allocations: 8.469 kB / 1.091 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/1.039, allocations: 92.19 kB / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.039, allocations: 0 / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/1.039, allocations: 0 / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.039, allocations: 1.031 kB / 1.091 GB, free: 4.344 MB / 0.8575 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.0003816/1.039, allocations: 347.2 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.039, allocations: 9.734 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/1.04, allocations: 26.27 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/1.04, allocations: 170.9 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/1.04, allocations: 1.094 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/1.04, allocations: 13.03 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/1.04, allocations: 48.02 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.04, allocations: 1.562 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.04, allocations: 3.938 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.04, allocations: 0.875 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/1.04, allocations: 21.95 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/1.041, allocations: 166.8 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/1.041, allocations: 51.12 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/1.041, allocations: 15.11 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/1.041, allocations: 0.6094 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.041, allocations: 36.02 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/1.041, allocations: 1.375 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003272/1.041, allocations: 75.08 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/1.041, allocations: 56.09 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/1.041, allocations: 96.09 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/1.041, allocations: 26.36 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/1.041, allocations: 80.14 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/1.041, allocations: 13.94 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/1.041, allocations: 15.42 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/1.042, allocations: 313.2 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/1.042, allocations: 12.2 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/1.042, allocations: 10.92 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/1.042, allocations: 34.42 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.042, allocations: 0.5625 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/1.042, allocations: 60.17 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.042, allocations: 8.078 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/1.042, allocations: 0 / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.042, allocations: 5.062 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.042, allocations: 7.797 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.042, allocations: 5.156 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/1.042, allocations: 3.109 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/1.042, allocations: 2.719 kB / 1.092 GB, free: 2.688 MB / 0.8575 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 5.8e-05/1.042, allocations: 111.6 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/1.042, allocations: 1.094 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/1.042, allocations: 8.891 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.042, allocations: 8.734 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.042, allocations: 1.219 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/1.042, allocations: 80.75 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/1.042, allocations: 0.5156 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/1.043, allocations: 7.953 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/1.043, allocations: 6.016 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002494/1.043, allocations: 141.4 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002035/1.043, allocations: 234.2 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.338e-05/1.043, allocations: 14.92 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.55e-05/1.043, allocations: 79.42 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of Backend: time 3.81e-07/1.043, allocations: 4.062 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006062/1.044, allocations: 138.5 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000432/1.044, allocations: 0.5536 MB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of Templates: time 0.004992/1.049, allocations: 1.468 MB / 1.095 GB, free: 1.223 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches