Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 107 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.226/3.226, allocations: 0.4899 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 70.47 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3476, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002475/0.3501, allocations: 1.423 MB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004662/0.3505, allocations: 215.9 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.3506, allocations: 0 / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.3506, allocations: 3.938 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.3506, allocations: 3.938 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3508, allocations: 35.83 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.609e-05/0.3509, allocations: 19.94 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.351, allocations: 11.98 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/0.351, allocations: 8 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.351, allocations: 11.92 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.351, allocations: 0 / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.3511, allocations: 31.98 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.3512, allocations: 3.984 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.3512, allocations: 11.92 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.3513, allocations: 39.84 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3513, allocations: 0 / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3513, allocations: 0 / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3513, allocations: 4 kB / 1.323 GB, free: 1.02 MB / 1.014 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.0004607/0.3518, allocations: 343.4 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3518, allocations: 19.92 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3519, allocations: 8.922 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3521, allocations: 168.3 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.3521, allocations: 384 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3521, allocations: 4.375 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3523, allocations: 54.23 kB / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3523, allocations: 192 / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3523, allocations: 3.938 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.3523, allocations: 0 / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.3525, allocations: 35.94 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3528, allocations: 252.9 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.353, allocations: 46.48 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.293e-05/0.3531, allocations: 20.91 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.3531, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.3531, allocations: 34.5 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3531, allocations: 0 / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003676/0.3535, allocations: 89.58 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3535, allocations: 51.41 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.3536, allocations: 101.8 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3536, allocations: 25.7 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.3536, allocations: 84.14 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3537, allocations: 3.953 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.3537, allocations: 13.72 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3539, allocations: 322.9 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.3539, allocations: 19.97 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.354, allocations: 19.98 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3542, allocations: 32.83 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3542, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002197/0.3544, allocations: 81.55 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3544, allocations: 4 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3544, allocations: 4 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3545, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.3545, allocations: 7.984 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3546, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.3546, allocations: 7.984 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3546, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 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 9.789e-05/0.3547, allocations: 121.8 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3547, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.355, allocations: 80.7 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.355, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.355, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.355, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3552, allocations: 161.6 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3552, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.3553, allocations: 11.98 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3553, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3553, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3553, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3553, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3556, allocations: 171.5 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.3556, allocations: 85.05 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3557, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.3557, allocations: 4 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.3558, allocations: 11.92 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.3558, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.3558, allocations: 79.56 kB / 1.325 GB, free: 14.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3558, allocations: 3.938 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002221/0.3561, allocations: 7.938 kB / 1.325 GB, free: 14.14 MB / 1.029 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 (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 Backend phase and start with SimCode phase: time 0.0001083/0.3562, allocations: 99.39 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3564, allocations: 47.88 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3564, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.3565, allocations: 19.98 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3568, allocations: 11.98 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.3571, allocations: 130.6 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3574, allocations: 0.6768 MB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.3574, allocations: 0 / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.3574, allocations: 11.44 kB / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3574, allocations: 0 / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of Templates: time 0.002717/0.3601, allocations: 0.4963 MB / 1.327 GB, free: 12.59 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.71968644298613]