Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.001301/0.001301, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.791/2.791, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 1.018 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3485, allocations: 151.6 MB / 1.167 GB, free: 6.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002941/0.3514, allocations: 1.41 MB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3526, allocations: 0.6005 MB / 1.169 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.3526, allocations: 4 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.3527, allocations: 0 / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.3528, allocations: 7.922 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.3533, allocations: 91.56 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.3534, allocations: 31.86 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3535, allocations: 12 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.3536, allocations: 11.92 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.3536, allocations: 8 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.3537, allocations: 4 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.354, allocations: 143.8 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.354, allocations: 4 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.354, allocations: 11.92 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.3543, allocations: 103.7 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3543, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3543, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3543, allocations: 0 / 1.169 GB, free: 4.488 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.000483/0.3548, allocations: 359.2 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3549, allocations: 15.95 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.3553, allocations: 28.86 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3554, allocations: 164.3 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3555, allocations: 4.375 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3555, allocations: 384 / 1.17 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3557, allocations: 70.2 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3558, allocations: 192 / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3558, allocations: 7.922 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3558, allocations: 0 / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.356, allocations: 55.92 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.3565, allocations: 280.8 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3568, allocations: 58.47 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.3569, allocations: 36.83 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.3569, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.357, allocations: 30.56 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.357, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004927/0.3575, allocations: 125.6 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3575, allocations: 55.41 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.3576, allocations: 93.86 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3576, allocations: 25.7 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.3577, allocations: 88.14 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.3577, allocations: 7.938 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.3578, allocations: 13.72 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3579, allocations: 314.9 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3581, allocations: 27.97 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3582, allocations: 27.97 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.3584, allocations: 60.86 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3585, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002932/0.3588, allocations: 89.52 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3588, allocations: 4 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3588, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3588, allocations: 3.984 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3589, allocations: 16.02 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.359, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.3591, allocations: 11.98 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3591, allocations: 0 / 1.171 GB, free: 2.223 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 (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 8.784e-05/0.3592, allocations: 117.7 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3592, allocations: 4 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.3592, allocations: 7.125 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3593, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3593, allocations: 3.984 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3593, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3594, allocations: 169.6 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3595, allocations: 0 / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3596, allocations: 11.98 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3596, allocations: 0 / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3596, allocations: 3.984 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3596, allocations: 12 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3596, allocations: 0 / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.36, allocations: 187.3 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.36, allocations: 77.11 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.36, allocations: 11.95 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3602, allocations: 8 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3602, allocations: 3.984 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3602, allocations: 0 / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3603, allocations: 83.28 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3603, allocations: 0 / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000259/0.3605, allocations: 15.94 kB / 1.172 GB, free: 1.426 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.0001801/0.3607, allocations: 115.2 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3611, allocations: 59.88 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3611, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3612, allocations: 36.02 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3615, allocations: 7.938 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.3619, allocations: 126.5 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3622, allocations: 0.6768 MB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.3623, allocations: 8.062 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.3623, allocations: 15.42 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/0.3623, allocations: 0 / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of Templates: time 0.003389/0.3657, allocations: 0.7913 MB / 1.173 GB, free: 15.54 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches