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.0009434/0.0009434, allocations: 80.83 kB / 20.75 MB, free: 3.73 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.0009541/0.0009541, allocations: 169 kB / 24.17 MB, free: 320 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.9268/0.9268, allocations: 177.2 MB / 204.6 MB, free: 5.461 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.825/1.825, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.563e-06/1.563e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.357e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001487/0.0015, allocations: 1.344 MB / 0.7613 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006677/0.002168, allocations: 0.5812 MB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.002186, allocations: 1.781 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.002201, allocations: 0 / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.51e-05/0.002246, allocations: 7.266 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.00257, allocations: 99.77 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.00262, allocations: 25.83 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.79e-05/0.002648, allocations: 0 / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.002693, allocations: 12.81 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.002729, allocations: 7.984 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.002739, allocations: 0 / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.002926, allocations: 136.6 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.002945, allocations: 3.938 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.002962, allocations: 4.875 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.003118, allocations: 111.7 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003119, allocations: 0.5938 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00312, allocations: 0 / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.003123, allocations: 0.6562 kB / 0.7623 GB, free: 4.312 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.0002607/0.003384, allocations: 242 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.003419, allocations: 11.97 kB / 0.7625 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.003679, allocations: 45.8 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.003753, allocations: 105.8 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.003762, allocations: 0.9375 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.003772, allocations: 6.156 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.003866, allocations: 54.94 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.003871, allocations: 192 / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.003879, allocations: 1.594 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.003882, allocations: 384 / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.00391, allocations: 19.86 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.125e-05/0.003992, allocations: 57.8 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.004039, allocations: 27.56 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.004057, allocations: 17.61 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.004069, allocations: 0 / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.004088, allocations: 31.06 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.00409, allocations: 0.75 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001081/0.004198, allocations: 54.11 kB / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.004231, allocations: 54 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.004281, allocations: 98.72 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.004292, allocations: 25.7 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.004313, allocations: 88.12 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.004334, allocations: 3.953 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.004368, allocations: 21.7 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.004439, allocations: 314.8 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.00445, allocations: 6.438 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.004461, allocations: 7.984 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.004492, allocations: 16.84 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004494, allocations: 0 / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.669e-05/0.004541, allocations: 47.28 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.004553, allocations: 4 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.004557, allocations: 0 / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.004566, allocations: 1.219 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/0.004624, allocations: 4 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.004627, allocations: 0.9375 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.004649, allocations: 7.984 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.004653, allocations: 0 / 0.7636 GB, free: 2.82 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.958e-05/0.004703, allocations: 115 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.004711, allocations: 7.984 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.004734, allocations: 10.06 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004736, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.004738, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.00474, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.687e-05/0.004797, allocations: 77.81 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.004798, allocations: 0 / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.004822, allocations: 10.33 kB / 0.7638 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004824, allocations: 4 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.004829, allocations: 3.938 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.00483, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.004831, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.487e-05/0.004896, allocations: 71.5 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.004918, allocations: 7.922 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-06/0.004927, allocations: 0 / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.004945, allocations: 4 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.004955, allocations: 4 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.00496, allocations: 3.984 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.676e-06/0.004968, allocations: 9.734 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004968, allocations: 0 / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001099/0.005078, allocations: 12 kB / 0.7639 GB, free: 2.449 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.0001073/0.005185, allocations: 89.66 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.55e-05/0.005251, allocations: 29.58 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.005253, allocations: 0.5938 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.005266, allocations: 13.58 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.7e-05/0.005353, allocations: 17.36 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.005739, allocations: 129.7 kB / 0.7642 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.679e-05/0.005766, allocations: 51.36 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.005808, allocations: 11.03 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.005864, allocations: 59.36 kB / 0.7643 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.005865, allocations: 0 / 0.7643 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of Templates: time 0.002162/0.008027, allocations: 0.8883 MB / 0.7652 GB, free: 1.156 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 -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: 4.7369906338863075]