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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 103.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.216/3.216, allocations: 489.7 MB / 0.7761 GB, free: 33.65 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=502,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 62.8 kB / 1.127 GB, free: 36.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3633, allocations: 172.1 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00275/0.3661, allocations: 1.424 MB / 1.296 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3672, allocations: 0.5963 MB / 1.297 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.3672, allocations: 0 / 1.297 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.3672, allocations: 0 / 1.297 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.3673, allocations: 3.938 kB / 1.297 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.3677, allocations: 95.56 kB / 1.297 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.3678, allocations: 23.92 kB / 1.297 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.3678, allocations: 4 kB / 1.297 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.3679, allocations: 11.92 kB / 1.297 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.3679, allocations: 19.86 kB / 1.297 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.368, allocations: 8 kB / 1.297 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.3683, allocations: 143.8 kB / 1.297 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.3683, allocations: 3.984 kB / 1.297 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.3683, allocations: 15.92 kB / 1.297 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3686, allocations: 99.7 kB / 1.297 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3686, allocations: 0 / 1.297 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3686, allocations: 3.938 kB / 1.297 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3686, allocations: 0 / 1.297 GB, free: 9.289 MB / 0.9981 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.0005348/0.3691, allocations: 363.2 kB / 1.298 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3691, allocations: 12.03 kB / 1.298 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.3696, allocations: 24.91 kB / 1.298 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3697, allocations: 172.3 kB / 1.298 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3697, allocations: 384 / 1.298 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3698, allocations: 4.375 kB / 1.298 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.37, allocations: 70.2 kB / 1.298 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.37, allocations: 192 / 1.298 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.37, allocations: 7.875 kB / 1.298 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.37, allocations: 0 / 1.298 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.3703, allocations: 55.88 kB / 1.298 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.3708, allocations: 280.9 kB / 1.298 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.371, allocations: 54.48 kB / 1.298 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3711, allocations: 32.89 kB / 1.298 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3712, allocations: 7.984 kB / 1.298 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3712, allocations: 30.56 kB / 1.298 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3712, allocations: 0 / 1.298 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.00053/0.3717, allocations: 113.6 kB / 1.298 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3718, allocations: 55.41 kB / 1.298 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.3719, allocations: 101.8 kB / 1.299 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3719, allocations: 25.7 kB / 1.299 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.3719, allocations: 80.14 kB / 1.299 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.372, allocations: 11.95 kB / 1.299 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.372, allocations: 13.7 kB / 1.299 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3721, allocations: 310.8 kB / 1.299 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3723, allocations: 32 kB / 1.299 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3724, allocations: 27.91 kB / 1.299 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.3726, allocations: 64.81 kB / 1.299 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3726, allocations: 0 / 1.299 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003039/0.3729, allocations: 93.52 kB / 1.299 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.373, allocations: 8 kB / 1.299 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.373, allocations: 0 / 1.299 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.373, allocations: 0 / 1.299 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3731, allocations: 16.02 kB / 1.299 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3731, allocations: 0 / 1.299 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/0.3732, allocations: 7.984 kB / 1.299 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3732, allocations: 4 kB / 1.299 GB, free: 7.023 MB / 0.9981 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.0001036/0.3733, allocations: 114.3 kB / 1.299 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.3734, allocations: 3.984 kB / 1.299 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.3734, allocations: 11.31 kB / 1.299 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3734, allocations: 0 / 1.299 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3734, allocations: 3.984 kB / 1.299 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3734, allocations: 4 kB / 1.299 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3736, allocations: 169.6 kB / 1.3 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3736, allocations: 0 / 1.3 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.3737, allocations: 15.92 kB / 1.3 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3737, allocations: 3.984 kB / 1.3 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3737, allocations: 3.938 kB / 1.3 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3737, allocations: 4 kB / 1.3 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3737, allocations: 0 / 1.3 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.3741, allocations: 187.4 kB / 1.3 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.3742, allocations: 81.06 kB / 1.3 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.3742, allocations: 4.031 kB / 1.3 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3743, allocations: 7.984 kB / 1.3 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3743, allocations: 4 kB / 1.3 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3744, allocations: 0 / 1.3 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.3744, allocations: 83.27 kB / 1.3 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3744, allocations: 0 / 1.3 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002519/0.3747, allocations: 19.94 kB / 1.3 GB, free: 6.227 MB / 0.9981 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.0001932/0.3749, allocations: 111.2 kB / 1.3 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.3752, allocations: 67.8 kB / 1.3 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3752, allocations: 0 / 1.3 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3753, allocations: 27.97 kB / 1.3 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3756, allocations: 12.06 kB / 1.3 GB, free: 6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.3761, allocations: 156.2 kB / 1.3 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3765, allocations: 0.6729 MB / 1.301 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.3765, allocations: 11.42 kB / 1.301 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3765, allocations: 0 / 1.301 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of Templates: time 0.002675/0.3792, allocations: 0.9114 MB / 1.302 GB, free: 4.195 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] 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