Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001374/0.001374, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001603/0.001603, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9807/0.9807, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.938/1.938, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7601 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.47e-05, allocations: 6.422 kB / 0.7601 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002498/0.002523, allocations: 1.397 MB / 0.7614 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.003428, allocations: 0.5735 MB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.003451, allocations: 0 / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.00347, allocations: 0.75 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.003529, allocations: 12.3 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.003917, allocations: 92.03 kB / 0.7621 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.003985, allocations: 23.8 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.004021, allocations: 0 / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.004092, allocations: 18.17 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.004139, allocations: 0 / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004153, allocations: 7.938 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.00444, allocations: 143.7 kB / 0.7623 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.004451, allocations: 0 / 0.7623 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.004468, allocations: 4 kB / 0.7623 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.004657, allocations: 113.1 kB / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004658, allocations: 0 / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004659, allocations: 0 / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.004663, allocations: 0 / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002849/0.004948, allocations: 246 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.004981, allocations: 8.031 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.005313, allocations: 38.05 kB / 0.7627 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.005407, allocations: 105.8 kB / 0.7628 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.005419, allocations: 5.281 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.005428, allocations: 4.375 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.00555, allocations: 65.83 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005558, allocations: 192 / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005566, allocations: 384 / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005571, allocations: 384 / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.005605, allocations: 15.92 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.005714, allocations: 57.05 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.005775, allocations: 33.34 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.005798, allocations: 8.922 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.005812, allocations: 3.984 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.005838, allocations: 38.5 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.005839, allocations: 0 / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.005958, allocations: 47.53 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.005991, allocations: 51.41 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.006051, allocations: 102.7 kB / 0.7632 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006064, allocations: 26.42 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.006093, allocations: 84.14 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.006117, allocations: 8.5 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.006156, allocations: 17.7 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.006244, allocations: 318.1 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.006265, allocations: 7.938 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.006282, allocations: 4 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.006324, allocations: 24.78 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006326, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.772e-05/0.006384, allocations: 44.78 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.006394, allocations: 4 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006398, allocations: 0 / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.00641, allocations: 0 / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.006474, allocations: 7.984 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.006478, allocations: 4 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.006499, allocations: 4 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006505, allocations: 5.797 kB / 0.7637 GB, free: 2.781 MB / 0.7136 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.946e-05/0.006554, allocations: 113.8 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.006561, allocations: 3.938 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.006583, allocations: 5.75 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006584, allocations: 0 / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.006585, allocations: 0 / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.006589, allocations: 4 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.375e-05/0.006643, allocations: 77.81 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006644, allocations: 0 / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.00667, allocations: 11.02 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.006671, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-06/0.006675, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006676, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006677, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/0.006738, allocations: 69.06 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.00676, allocations: 7.922 kB / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.00677, allocations: 5.562 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.006787, allocations: 0 / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.006798, allocations: 3.938 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.006802, allocations: 3.984 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.466e-06/0.006811, allocations: 10.14 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006811, allocations: 0 / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001161/0.006927, allocations: 16 kB / 0.764 GB, free: 2.418 MB / 0.7136 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.0001034/0.00703, allocations: 93.84 kB / 0.7641 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.702e-05/0.007087, allocations: 21.94 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.00709, allocations: 4 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.007104, allocations: 9.766 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.125e-05/0.007185, allocations: 11.92 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.007556, allocations: 134.2 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.58e-05/0.007582, allocations: 52.83 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.007624, allocations: 8.375 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.00769, allocations: 59.92 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/0.007691, allocations: 0.7812 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of Templates: time 0.002461/0.01015, allocations: 0.902 MB / 0.7653 GB, free: 1.117 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.084228878840804]