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.001598/0.001598, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001772/0.001772, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.314/3.314, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.002381/0.002381, allocations: 73.38 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.363, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00374/0.3668, allocations: 1.44 MB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3681, allocations: 0.5619 MB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.3681, allocations: 0 / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.3682, allocations: 0 / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.3682, allocations: 3.938 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.3688, allocations: 99.55 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.3689, allocations: 27.92 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.369, allocations: 8 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.3691, allocations: 11.94 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.3691, allocations: 3.984 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3691, allocations: 4 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.3695, allocations: 143.7 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.3695, allocations: 3.938 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3696, allocations: 11.98 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.3699, allocations: 111.6 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3699, allocations: 0 / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3699, allocations: 0 / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3699, allocations: 0 / 1.367 GB, free: 11.14 MB / 1.061 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.0005918/0.3705, allocations: 286.1 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3705, allocations: 8.031 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005105/0.371, allocations: 32.89 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3712, allocations: 106.5 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3712, allocations: 4.375 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3712, allocations: 384 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.3715, allocations: 70.2 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3715, allocations: 4.125 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3715, allocations: 7.922 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3715, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.3718, allocations: 51.94 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3723, allocations: 220.5 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.3725, allocations: 54.53 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3727, allocations: 32.89 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.3727, allocations: 3.938 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3727, allocations: 34.56 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3727, allocations: 4 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005739/0.3733, allocations: 113.5 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3734, allocations: 55.34 kB / 1.368 GB, free: 9.945 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3735, allocations: 97.84 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3735, allocations: 37.83 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.3735, allocations: 80.14 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3736, allocations: 3.953 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.3736, allocations: 17.7 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3738, allocations: 314.8 kB / 1.369 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3739, allocations: 27.97 kB / 1.369 GB, free: 9.344 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3741, allocations: 23.97 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.3743, allocations: 60.86 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3743, allocations: 0 / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003228/0.3746, allocations: 93.52 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3747, allocations: 9.719 kB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3747, allocations: 0 / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3747, allocations: 0 / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3748, allocations: 15.97 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3748, allocations: 0 / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.3749, allocations: 8 kB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.375, allocations: 11.98 kB / 1.369 GB, free: 9.117 MB / 1.061 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.622e-05/0.375, allocations: 105.9 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.3751, allocations: 7.938 kB / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.3751, allocations: 7.5 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3751, allocations: 0 / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.3751, allocations: 7.922 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3751, allocations: 0 / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3753, allocations: 117.3 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3753, allocations: 0 / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.3754, allocations: 15.97 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3754, allocations: 7.938 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3754, allocations: 0 / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3754, allocations: 0 / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3754, allocations: 0 / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.3758, allocations: 187.4 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.3758, allocations: 11.88 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3759, allocations: 4.031 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.376, allocations: 11.98 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.376, allocations: 0 / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.376, allocations: 0 / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.3761, allocations: 83.27 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3761, allocations: 3.938 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002753/0.3764, allocations: 16 kB / 1.369 GB, free: 8.48 MB / 1.061 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.0002311/0.3766, allocations: 107.2 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.3769, allocations: 63.88 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3769, allocations: 0 / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3771, allocations: 27.97 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3774, allocations: 1.547 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.378, allocations: 168.6 kB / 1.37 GB, free: 8.078 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.886e-05/0.3781, allocations: 59.34 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.3782, allocations: 11.44 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3782, allocations: 0 / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of Templates: time 0.002888/0.3811, allocations: 0.9247 MB / 1.371 GB, free: 7.07 MB / 1.061 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.357266064733267]