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.001373/0.001373, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001544/0.001544, allocations: 158.4 kB / 23.01 MB, free: 4.602 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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 2.868/2.868, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] 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.002376/0.002376, allocations: 67.88 kB / 1.009 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8377/0.8401, allocations: 181.8 MB / 1.187 GB, free: 16.15 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002324/0.8424, allocations: 1.442 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.8434, allocations: 0.5605 MB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.8434, allocations: 0.9062 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.8434, allocations: 0.6094 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.8435, allocations: 9.766 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.8439, allocations: 103.8 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.844, allocations: 25.02 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.844, allocations: 8.375 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.8441, allocations: 8.578 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.8441, allocations: 11.09 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.8441, allocations: 2.188 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.8444, allocations: 138.6 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.8444, allocations: 8.547 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.8444, allocations: 4.234 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.8447, allocations: 113.2 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8447, allocations: 1.156 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8447, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8447, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 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.0003836/0.8451, allocations: 285.6 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.8451, allocations: 8.094 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.8455, allocations: 30.11 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.009e-05/0.8456, allocations: 110.3 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.8456, allocations: 4.312 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.8456, allocations: 5.531 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.8459, allocations: 64.03 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.8459, allocations: 192 / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8459, allocations: 3.938 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.8459, allocations: 1.062 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.8462, allocations: 59.62 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.8465, allocations: 212.9 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.8468, allocations: 56.16 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.8469, allocations: 35.03 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.8469, allocations: 4.547 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.8469, allocations: 37.45 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8469, allocations: 0 / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.00052/0.8474, allocations: 115.4 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.8475, allocations: 53.14 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.8475, allocations: 104.3 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.8475, allocations: 26.8 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.8475, allocations: 81.91 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.8476, allocations: 9.625 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.8476, allocations: 19.53 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.8477, allocations: 317.6 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.8478, allocations: 25.11 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.8479, allocations: 29.38 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.8482, allocations: 55.27 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8482, allocations: 3.938 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002966/0.8485, allocations: 96.36 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8485, allocations: 7.25 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8485, allocations: 0.7031 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.8485, allocations: 0.9062 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.8486, allocations: 12.52 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.8486, allocations: 1.766 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.8487, allocations: 12.03 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.8487, allocations: 5.953 kB / 1.191 GB, free: 13.1 MB / 1.076 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 4.678e-05/0.8488, allocations: 109.5 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.8488, allocations: 9.219 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.8488, allocations: 8.391 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.8488, allocations: 1.312 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8488, allocations: 0 / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8489, allocations: 1.906 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.849, allocations: 113.7 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.849, allocations: 1.312 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.8491, allocations: 13.19 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8491, allocations: 8.438 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.8491, allocations: 2.375 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8491, allocations: 1.094 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8491, allocations: 0 / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.8494, allocations: 184.3 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.8494, allocations: 5.344 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.8494, allocations: 1.703 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.8496, allocations: 8.234 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.8496, allocations: 3.062 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.8496, allocations: 1.75 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.189e-05/0.8496, allocations: 84.02 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8496, allocations: 1.25 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002483/0.8499, allocations: 19.3 kB / 1.191 GB, free: 12.59 MB / 1.076 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.0001314/0.85, allocations: 103 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.8503, allocations: 59.05 kB / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8503, allocations: 0 / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.8505, allocations: 33.44 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.8507, allocations: 9.891 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.8511, allocations: 140.3 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.802e-05/0.8512, allocations: 59.45 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.199e-05/0.8512, allocations: 10.88 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.8513, allocations: 17.14 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.8513, allocations: 0 / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of Templates: time 0.003454/0.8547, allocations: 0.8086 MB / 1.193 GB, free: 12.16 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.556282010977156]