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.001189/0.001189, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001483/0.001483, allocations: 168.2 kB / 24.86 MB, free: 8.879 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.9898/0.9898, allocations: 177.1 MB / 205.3 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.6247 GB, free: 8.457 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.082e-06/1.082e-06, allocations: 0.7656 kB / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.647e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001648/0.001665, allocations: 1.342 MB / 0.8141 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.002352, allocations: 0.563 MB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.002373, allocations: 0 / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.00239, allocations: 1.5 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.002432, allocations: 11.88 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.002752, allocations: 96.58 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.0028, allocations: 15.88 kB / 0.8148 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.002834, allocations: 8.688 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.002878, allocations: 7.984 kB / 0.8148 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.002913, allocations: 12.78 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.002924, allocations: 0 / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.003133, allocations: 131.8 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.003148, allocations: 4.641 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.003166, allocations: 16.83 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.003399, allocations: 99.77 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003401, allocations: 0 / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003402, allocations: 0.75 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003405, allocations: 0 / 0.815 GB, free: 15.18 MB / 0.7761 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.0002699/0.003675, allocations: 381.3 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.003707, allocations: 12.03 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.003958, allocations: 38.08 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.651e-05/0.004024, allocations: 106.5 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.004034, allocations: 4.375 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.00404, allocations: 384 / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/0.004132, allocations: 59.97 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-06/0.004137, allocations: 192 / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.004143, allocations: 384 / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004148, allocations: 10.08 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.006103, allocations: 15.92 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.006262, allocations: 101.2 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.006336, allocations: 40.61 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.006357, allocations: 15.75 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.006371, allocations: 0 / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.00639, allocations: 38.83 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.006391, allocations: 0 / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.006528, allocations: 58.2 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.006554, allocations: 51.41 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.006611, allocations: 162.7 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.006621, allocations: 25.7 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.006652, allocations: 128.7 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.006675, allocations: 3.953 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.006708, allocations: 19.38 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.006798, allocations: 0.4922 MB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.006814, allocations: 8.625 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.006828, allocations: 8.625 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.006859, allocations: 20.2 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.00686, allocations: 1.156 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.294e-05/0.006923, allocations: 49.64 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006936, allocations: 8.531 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00694, allocations: 1.25 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.006947, allocations: 0 / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.007036, allocations: 7.984 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.007046, allocations: 1.094 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.007071, allocations: 4 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007079, allocations: 7.922 kB / 0.8168 GB, free: 13.14 MB / 0.7761 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.042e-05/0.007139, allocations: 157.5 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.00715, allocations: 4 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.007178, allocations: 9 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00718, allocations: 0 / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.007182, allocations: 1.344 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007185, allocations: 0 / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.042e-05/0.007255, allocations: 113.1 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007256, allocations: 0 / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.00729, allocations: 4.844 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007293, allocations: 4 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.0073, allocations: 9.984 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.0073, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007301, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.381e-05/0.007385, allocations: 84.38 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.007417, allocations: 12.64 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.007426, allocations: 0 / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.007446, allocations: 3.438 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.007458, allocations: 3.938 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.007464, allocations: 7.984 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.007494, allocations: 119.2 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007494, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001382/0.007632, allocations: 12 kB / 0.8174 GB, free: 12.56 MB / 0.7761 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.0001288/0.007761, allocations: 111.2 kB / 0.8175 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.007832, allocations: 28.8 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007834, allocations: 0 / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.00785, allocations: 20.45 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.01101, allocations: 9.594 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.01161, allocations: 127.1 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.53e-05/0.01164, allocations: 60.92 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.842e-05/0.0117, allocations: 8.797 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.01177, allocations: 78.19 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/0.01178, allocations: 1.031 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.002936/0.01471, allocations: 0.906 MB / 0.8187 GB, free: 11.2 MB / 0.7761 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: 5.094892379827797]