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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 110.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 489.3 MB / 0.7687 GB, free: 3.824 MB / 0.6075 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.88 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9673/0.9693, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002549/0.9719, allocations: 1.417 MB / 1.264 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.9729, allocations: 0.5981 MB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.973, allocations: 0.8438 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.973, allocations: 4.547 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.9731, allocations: 1.5 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.9735, allocations: 107.3 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.9736, allocations: 20.75 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.9737, allocations: 8.656 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.9737, allocations: 9.359 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.9738, allocations: 10.67 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.9738, allocations: 2.094 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.9741, allocations: 143.2 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.9742, allocations: 2.094 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.9742, allocations: 15.09 kB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.9745, allocations: 107.8 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9745, allocations: 4 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9745, allocations: 0 / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.9745, allocations: 0.8125 kB / 1.265 GB, free: 6.473 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.0004267/0.9749, allocations: 359.3 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.975, allocations: 9.5 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.9754, allocations: 27.31 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.9755, allocations: 171.8 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.9755, allocations: 1.5 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.9755, allocations: 5.312 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.9758, allocations: 66.77 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9758, allocations: 4.125 kB / 1.266 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.9758, allocations: 4.812 kB / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.9758, allocations: 0 / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.9761, allocations: 59.67 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.9765, allocations: 271 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.9767, allocations: 63.97 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.9769, allocations: 30.5 kB / 1.266 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.9769, allocations: 1.422 kB / 1.266 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.9769, allocations: 32.11 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9769, allocations: 0.8125 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0005199/0.9775, allocations: 119.7 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.9775, allocations: 52.41 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.9776, allocations: 100.7 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.9776, allocations: 25.83 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.9776, allocations: 90.64 kB / 1.266 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.9776, allocations: 4.922 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.9777, allocations: 19.8 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.9777, allocations: 312.4 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.9779, allocations: 30.02 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.978, allocations: 30.34 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.9782, allocations: 57.41 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9782, allocations: 0.625 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003128/0.9786, allocations: 91.64 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9786, allocations: 4.938 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.9786, allocations: 1.109 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9786, allocations: 1.031 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.9788, allocations: 14.11 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9788, allocations: 0.5156 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.9789, allocations: 7.719 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.9789, allocations: 6.688 kB / 1.267 GB, free: 4.695 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 4.863e-05/0.9789, allocations: 115.2 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.979, allocations: 6.281 kB / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.979, allocations: 9.156 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.979, allocations: 0 / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.979, allocations: 0.5938 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.979, allocations: 1.141 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.9792, allocations: 176.7 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9792, allocations: 0 / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.9793, allocations: 17.06 kB / 1.267 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9793, allocations: 8.781 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.9793, allocations: 1.969 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.9793, allocations: 1.328 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9793, allocations: 0 / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.9797, allocations: 187.8 kB / 1.267 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.9797, allocations: 78.42 kB / 1.268 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.9797, allocations: 1.422 kB / 1.268 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.9799, allocations: 8.984 kB / 1.268 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.9799, allocations: 2.078 kB / 1.268 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.9799, allocations: 5.453 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.98, allocations: 83.91 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.98, allocations: 0 / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002518/0.9802, allocations: 11.77 kB / 1.268 GB, free: 4.023 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.0001573/0.9804, allocations: 109.8 kB / 1.268 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.9807, allocations: 63.62 kB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9807, allocations: 0 / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.9809, allocations: 29.05 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.9812, allocations: 6.578 kB / 1.268 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.9816, allocations: 159.9 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.912e-05/0.9817, allocations: 0.6764 MB / 1.269 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.9818, allocations: 12.56 kB / 1.269 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9818, allocations: 0 / 1.269 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of Templates: time 0.002876/0.9846, allocations: 0.9113 MB / 1.27 GB, free: 2.988 MB / 0.9981 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 -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_2/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.235550258075818]