Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.001549/0.001549, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001884/0.001884, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [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.002179/0.002179, allocations: 61.98 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.348, allocations: 180.2 MB / 1.354 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002727/0.3507, allocations: 1.451 MB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3517, allocations: 0.5921 MB / 1.356 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.3518, allocations: 4 kB / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.3518, allocations: 7.922 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.3518, allocations: 7.875 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.3522, allocations: 91.58 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.3523, allocations: 23.92 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.3524, allocations: 11.97 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.3524, allocations: 8 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.3525, allocations: 15.92 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3525, allocations: 4 kB / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.3528, allocations: 155.7 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.3528, allocations: 0 / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3528, allocations: 11.94 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.353, allocations: 107.6 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.353, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.253e-06/0.353, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.353, allocations: 4 kB / 1.356 GB, free: 5.508 MB / 1.045 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.0004441/0.3535, allocations: 286.1 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.3535, allocations: 8.031 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.354, allocations: 32.84 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3541, allocations: 114.5 kB / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3541, allocations: 384 / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3541, allocations: 4.375 kB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.3543, allocations: 70.19 kB / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3543, allocations: 192 / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3544, allocations: 3.938 kB / 1.357 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3544, allocations: 3.938 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.3546, allocations: 51.94 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.3551, allocations: 248 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3553, allocations: 62.41 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3554, allocations: 36.83 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3554, allocations: 4 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3555, allocations: 30.56 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3555, allocations: 0 / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004982/0.356, allocations: 117.7 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.356, allocations: 55.34 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.3561, allocations: 101.8 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3561, allocations: 29.7 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.3562, allocations: 80.14 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3562, allocations: 3.953 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.3562, allocations: 17.7 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3564, allocations: 318.9 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3565, allocations: 27.97 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3566, allocations: 23.97 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.3569, allocations: 56.88 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3569, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003066/0.3572, allocations: 93.5 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3572, allocations: 8 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3572, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3572, allocations: 4.031 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3573, allocations: 11.98 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3573, allocations: 0 / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.3574, allocations: 11.98 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3574, allocations: 7.984 kB / 1.358 GB, free: 3.434 MB / 1.045 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.246e-05/0.3575, allocations: 114.4 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3575, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3576, allocations: 11.31 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3576, allocations: 0 / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3576, allocations: 4 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3576, allocations: 0 / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.3578, allocations: 140.7 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3578, allocations: 0 / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3579, allocations: 15.97 kB / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3579, allocations: 0 / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3579, allocations: 4 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3579, allocations: 7.875 kB / 1.359 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3579, allocations: 0 / 1.359 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3583, allocations: 195.3 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.3583, allocations: 11.97 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3583, allocations: 0 / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3584, allocations: 7.984 kB / 1.359 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3585, allocations: 4 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3585, allocations: 4 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.3585, allocations: 87.44 kB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3585, allocations: 0 / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002431/0.3588, allocations: 12 kB / 1.359 GB, free: 2.762 MB / 1.045 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.0001696/0.3589, allocations: 111.2 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3592, allocations: 51.94 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3592, allocations: 4 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3594, allocations: 39.97 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3596, allocations: 3.938 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.3601, allocations: 160 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3604, allocations: 0.6768 MB / 1.36 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.3605, allocations: 7.438 kB / 1.36 GB, free: 1.645 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3605, allocations: 4.062 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of Templates: time 0.00272/0.3632, allocations: 0.9083 MB / 1.361 GB, free: 0.7344 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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: 11.208273861993803]