Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001479/0.001479, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001141/0.001141, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9949/0.9949, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.912/1.912, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8116 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.947e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002512/0.002542, allocations: 1.34 MB / 0.8129 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003859, allocations: 0.6463 MB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.003882, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.003911, allocations: 3.938 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.003967, allocations: 7.938 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.004551, allocations: 108.7 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.004623, allocations: 28.44 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.004663, allocations: 1.375 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/0.004708, allocations: 15.92 kB / 0.8137 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.209e-05/0.00478, allocations: 7.984 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.004799, allocations: 4 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.005086, allocations: 140.9 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.005107, allocations: 11.91 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.005132, allocations: 4 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.005376, allocations: 112.9 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.00538, allocations: 4 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.763e-06/0.005382, allocations: 0 / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005386, allocations: 1.125 kB / 0.8139 GB, free: 15.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000487/0.005873, allocations: 384.4 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.005918, allocations: 8.844 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.00633, allocations: 42.12 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.006427, allocations: 108.6 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.006441, allocations: 0.875 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.006473, allocations: 4.906 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.006676, allocations: 94.56 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.006686, allocations: 192 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.0067, allocations: 384 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.006709, allocations: 384 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.00678, allocations: 29.58 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.006952, allocations: 120.6 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.007198, allocations: 59.95 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.007248, allocations: 23.77 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.007272, allocations: 8.516 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.007299, allocations: 34.11 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.007301, allocations: 0 / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.00248/0.009781, allocations: 458.8 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.009811, allocations: 64.59 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.009889, allocations: 149.9 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.009905, allocations: 29.7 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.466e-05/0.00994, allocations: 132.5 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.009972, allocations: 19.8 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.01002, allocations: 31.36 kB / 0.8157 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.01013, allocations: 0.4884 MB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.01019, allocations: 30.7 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.01023, allocations: 27.98 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.01034, allocations: 71.66 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01034, allocations: 0 / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000175/0.01052, allocations: 110.6 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01054, allocations: 10.66 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01054, allocations: 5.266 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.01056, allocations: 0 / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.01069, allocations: 21.03 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.0107, allocations: 11.92 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.01076, allocations: 0 / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.01077, allocations: 12.55 kB / 0.8164 GB, free: 12.55 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 (7): * Single equations (assignments): 7 * 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 0.0001099/0.01088, allocations: 157.9 kB / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.01091, allocations: 4 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.01096, allocations: 14.34 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01096, allocations: 0 / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01096, allocations: 4.844 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01097, allocations: 0 / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.01108, allocations: 135.5 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01108, allocations: 0 / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.01119, allocations: 20.64 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01119, allocations: 6.875 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01121, allocations: 7.984 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01121, allocations: 0 / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01121, allocations: 0 / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.01149, allocations: 176.3 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.0115, allocations: 4 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.01152, allocations: 2.594 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.0116, allocations: 7.984 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.01162, allocations: 4 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01163, allocations: 7.922 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.01167, allocations: 127.2 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01167, allocations: 0.9375 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001925/0.01186, allocations: 31.88 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002139/0.01207, allocations: 136.1 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.01224, allocations: 81.3 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01225, allocations: 0 / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.0123, allocations: 50.25 kB / 0.8174 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.01247, allocations: 27.98 kB / 0.8174 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.01308, allocations: 158.2 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.01312, allocations: 63.94 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001/0.01322, allocations: 29.84 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.01327, allocations: 20.48 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01327, allocations: 0 / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.003503/0.01677, allocations: 1.648 MB / 0.8193 GB, free: 9.598 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.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.272274055052549]