Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001581/0.001581, allocations: 78.56 kB / 19.18 MB, free: 2.531 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.002054/0.002054, allocations: 170.1 kB / 22.46 MB, free: 5.355 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.765/2.765, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.359e-05, allocations: 4.672 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003747/0.00378, allocations: 1.428 MB / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.004496, allocations: 215.4 kB / 0.9526 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.004543, allocations: 0 / 0.9526 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.004575, allocations: 0 / 0.9526 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.004628, allocations: 7.875 kB / 0.9526 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.004911, allocations: 27.95 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.005001, allocations: 27.86 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.005114, allocations: 8 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.005174, allocations: 11.98 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.005221, allocations: 7.984 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.005237, allocations: 0 / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.005365, allocations: 35.91 kB / 0.9527 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.005384, allocations: 7.938 kB / 0.9527 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.005409, allocations: 4 kB / 0.9527 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.005584, allocations: 47.81 kB / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005587, allocations: 0 / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005587, allocations: 4 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.005598, allocations: 0 / 0.9527 GB, free: 9.777 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006159/0.006214, allocations: 270.2 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.006262, allocations: 8.031 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.006485, allocations: 12.88 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.006658, allocations: 109.8 kB / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.006666, allocations: 384 / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.006686, allocations: 4.375 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.00693, allocations: 46.23 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.006943, allocations: 12.17 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.006953, allocations: 384 / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.006958, allocations: 384 / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.007253, allocations: 39.83 kB / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.007693, allocations: 188.6 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.007892, allocations: 42.53 kB / 0.9534 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.008044, allocations: 24.91 kB / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.008064, allocations: 0 / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.008099, allocations: 34.56 kB / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.008101, allocations: 0 / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005753/0.008676, allocations: 85.52 kB / 0.9536 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.008735, allocations: 55.41 kB / 0.9536 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.008849, allocations: 101.8 kB / 0.9537 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.008873, allocations: 25.7 kB / 0.9538 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.008947, allocations: 88.22 kB / 0.9538 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.008972, allocations: 7.938 kB / 0.9538 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.009027, allocations: 13.72 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.009221, allocations: 314.8 kB / 0.9542 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.009353, allocations: 15.97 kB / 0.9542 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.009475, allocations: 15.98 kB / 0.9542 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.009731, allocations: 44.83 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009733, allocations: 0 / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003384/0.01007, allocations: 69.61 kB / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01009, allocations: 4 kB / 0.9543 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.0101, allocations: 3.938 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01011, allocations: 0 / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.01023, allocations: 11.98 kB / 0.9543 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.01023, allocations: 0 / 0.9543 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.01032, allocations: 12.02 kB / 0.9543 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.01033, allocations: 3.938 kB / 0.9543 GB, free: 7.969 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 0.0001212/0.01045, allocations: 113.8 kB / 0.9544 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.01049, allocations: 0 / 0.9544 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.01088, allocations: 84.83 kB / 0.9545 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01088, allocations: 0 / 0.9545 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01088, allocations: 0 / 0.9545 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01089, allocations: 0 / 0.9545 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.01111, allocations: 113.3 kB / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01111, allocations: 0 / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.01121, allocations: 7.984 kB / 0.9546 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01121, allocations: 4 kB / 0.9546 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01122, allocations: 4 kB / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.01123, allocations: 3.938 kB / 0.9546 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01123, allocations: 0 / 0.9546 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.01163, allocations: 172.1 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.01164, allocations: 7.938 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.01165, allocations: 0 / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.01179, allocations: 8.219 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.01184, allocations: 11.92 kB / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.01184, allocations: 0 / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000135/0.01198, allocations: 87.27 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01198, allocations: 0 / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004067/0.01239, allocations: 4 kB / 0.9549 GB, free: 7.297 MB / 0.8575 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.0001446/0.01253, allocations: 99.23 kB / 0.955 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.01284, allocations: 35.97 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01284, allocations: 0 / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.01298, allocations: 27.91 kB / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.01341, allocations: 6.812 kB / 0.9551 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.01381, allocations: 116.9 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.772e-05/0.01388, allocations: 59.34 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.01392, allocations: 8.062 kB / 0.9553 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.01396, allocations: 8.5 kB / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.01396, allocations: 0 / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of Templates: time 0.004326/0.01828, allocations: 0.5226 MB / 0.9558 GB, free: 6.375 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.7668297290802]