Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00136/0.00136, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009986/0.0009986, allocations: 161.4 kB / 24.16 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.9526/0.9526, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.828/1.828, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.299e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002631/0.002654, allocations: 1.476 MB / 0.7614 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.003632, allocations: 0.605 MB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.003657, allocations: 1.203 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.003685, allocations: 7.938 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.00374, allocations: 3.812 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.004156, allocations: 102.4 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.99e-05/0.004226, allocations: 27.86 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.471e-05/0.004301, allocations: 8 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.004358, allocations: 13.45 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.004398, allocations: 4 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.00441, allocations: 0 / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.004672, allocations: 151.6 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.004688, allocations: 5.25 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.004704, allocations: 3.938 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.004917, allocations: 111.7 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004919, allocations: 1.25 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00492, allocations: 0 / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.004923, allocations: 0 / 0.7624 GB, free: 4.168 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003296/0.005253, allocations: 265.6 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.005287, allocations: 8.031 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.005595, allocations: 39.17 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.525e-05/0.00568, allocations: 101.8 kB / 0.7628 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.005691, allocations: 4.375 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.005703, allocations: 384 / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.005844, allocations: 63.64 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005851, allocations: 0.6875 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.005859, allocations: 1.5 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005864, allocations: 384 / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.005908, allocations: 24.61 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.006183, allocations: 160.2 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/0.006263, allocations: 36.11 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.006284, allocations: 9.766 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.006297, allocations: 3.984 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.006321, allocations: 36.75 kB / 0.7632 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.006322, allocations: 0 / 0.7632 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.006464, allocations: 45.62 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.0065, allocations: 55.34 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.006566, allocations: 110 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.00658, allocations: 25.7 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.006616, allocations: 88.08 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.006634, allocations: 7.953 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.00667, allocations: 13.72 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.006768, allocations: 318.8 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.006789, allocations: 4 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.006807, allocations: 4 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.006853, allocations: 27.84 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006855, allocations: 0 / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.782e-05/0.006933, allocations: 41.69 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.006946, allocations: 4 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.00695, allocations: 0 / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006961, allocations: 1.781 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.007044, allocations: 15.92 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.007046, allocations: 0 / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.00709, allocations: 7.984 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.007097, allocations: 2.938 kB / 0.7639 GB, free: 2.531 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 6.896e-05/0.007166, allocations: 109.8 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.007192, allocations: 8.125 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.007221, allocations: 11.25 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.007225, allocations: 3.984 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.007229, allocations: 10.67 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007231, allocations: 3.938 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.007355, allocations: 69.91 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007356, allocations: 0 / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.007406, allocations: 11.98 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007408, allocations: 0 / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.007416, allocations: 3.984 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007417, allocations: 0.7188 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007418, allocations: 0 / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.00753, allocations: 137 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.007537, allocations: 4 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.007549, allocations: 0 / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.007622, allocations: 13.27 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.007646, allocations: 0 / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.007652, allocations: 0 / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.613e-05/0.007668, allocations: 17.44 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007668, allocations: 0 / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002449/0.007913, allocations: 20.72 kB / 0.7643 GB, free: 2.078 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.0001558/0.008069, allocations: 92.91 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.008143, allocations: 21.75 kB / 0.7644 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.008145, allocations: 0.5938 kB / 0.7644 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.008173, allocations: 13.91 kB / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.008358, allocations: 17.45 kB / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.008765, allocations: 113.2 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.008804, allocations: 56.06 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.394e-05/0.008868, allocations: 10.06 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.008945, allocations: 59.36 kB / 0.7647 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.008945, allocations: 0 / 0.7647 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of Templates: time 0.002849/0.01179, allocations: 0.9792 MB / 0.7656 GB, free: 0.7188 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_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: 4.739132156129926]