Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009594/0.0009594, allocations: 88.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00107/0.00107, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 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.9613/0.9613, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.111/2.111, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.281e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00174/0.001763, allocations: 1.352 MB / 0.8795 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.002649, allocations: 0.573 MB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.002675, allocations: 4 kB / 0.8801 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.0027, allocations: 0 / 0.8801 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.002766, allocations: 3.938 kB / 0.8801 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.003149, allocations: 101.8 kB / 0.8802 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.003206, allocations: 19.88 kB / 0.8802 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.003248, allocations: 7.984 kB / 0.8802 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.003294, allocations: 4 kB / 0.8802 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.003337, allocations: 13.27 kB / 0.8802 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.00335, allocations: 0 / 0.8802 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.003558, allocations: 135.7 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.003574, allocations: 3.984 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.003592, allocations: 9.531 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.003768, allocations: 103.8 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00377, allocations: 0 / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003771, allocations: 0 / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.003775, allocations: 6.156 kB / 0.8804 GB, free: 4.062 MB / 0.8386 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.0003151/0.00409, allocations: 376.3 kB / 0.8808 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004128, allocations: 12.03 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.004415, allocations: 31.22 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.004494, allocations: 112.6 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004507, allocations: 12.3 kB / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.004518, allocations: 384 / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.004645, allocations: 62.94 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.004655, allocations: 192 / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.004665, allocations: 384 / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004673, allocations: 384 / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.004718, allocations: 19.92 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.004847, allocations: 116.6 kB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.796e-05/0.004915, allocations: 47.02 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.004948, allocations: 19.73 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.004968, allocations: 4 kB / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.004989, allocations: 33.39 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.00499, allocations: 0 / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/0.005149, allocations: 69.59 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.005177, allocations: 51.41 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.005245, allocations: 161.9 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.005256, allocations: 25.7 kB / 0.8815 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.005291, allocations: 126.9 kB / 0.8817 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.005314, allocations: 3.953 kB / 0.8817 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.005345, allocations: 27.48 kB / 0.8817 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.005454, allocations: 496.1 kB / 0.8822 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.005478, allocations: 11.98 kB / 0.8822 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.47e-05/0.005493, allocations: 4 kB / 0.8822 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.005535, allocations: 23.67 kB / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005537, allocations: 0 / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.8e-05/0.005615, allocations: 53.62 kB / 0.8823 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.005628, allocations: 8.094 kB / 0.8823 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.005635, allocations: 8 kB / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.005648, allocations: 0 / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.005726, allocations: 7.984 kB / 0.8823 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.005731, allocations: 0 / 0.8823 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.005756, allocations: 7.938 kB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005761, allocations: 0 / 0.8823 GB, free: 1.961 MB / 0.8386 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.536e-05/0.005826, allocations: 156.6 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.005835, allocations: 4 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.005872, allocations: 15.23 kB / 0.8825 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005873, allocations: 0 / 0.8825 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.005877, allocations: 0 / 0.8825 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.005881, allocations: 3.938 kB / 0.8825 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.036e-05/0.005951, allocations: 120.6 kB / 0.8826 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.005953, allocations: 3.984 kB / 0.8826 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.005981, allocations: 4 kB / 0.8826 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.005984, allocations: 4 kB / 0.8826 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.005992, allocations: 3.984 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005993, allocations: 0 / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005993, allocations: 4 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.921e-05/0.006082, allocations: 88.31 kB / 0.8827 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.00612, allocations: 11.92 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.006132, allocations: 4 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.006153, allocations: 4 kB / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.006165, allocations: 0 / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.00617, allocations: 3.984 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.006202, allocations: 123.2 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006202, allocations: 0 / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001392/0.006341, allocations: 15.97 kB / 0.8828 GB, free: 1.332 MB / 0.8386 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.0001209/0.006462, allocations: 111.2 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.006556, allocations: 35.61 kB / 0.883 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006558, allocations: 0 / 0.883 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.006577, allocations: 19.67 kB / 0.883 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.006718, allocations: 4.125 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.007202, allocations: 122.4 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.996e-05/0.007231, allocations: 55.36 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.007273, allocations: 15.92 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.0073, allocations: 8.5 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.007301, allocations: 4 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of Templates: time 0.002316/0.009617, allocations: 0.8105 MB / 0.884 GB, free: 116 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.384502338245511]