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.0009432/0.0009432, 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.001011/0.001011, allocations: 161 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.9158/0.9158, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.754/1.754, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.144e-06/2.144e-06, allocations: 0 / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.239e-05, allocations: 10.03 kB / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002136/0.002159, allocations: 1.335 MB / 0.8129 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.003046, allocations: 0.6501 MB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.003066, allocations: 0 / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.003086, allocations: 4 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.003126, allocations: 4.719 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.003522, allocations: 105.2 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.00358, allocations: 27.86 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.003615, allocations: 0 / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.00365, allocations: 21.44 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.003708, allocations: 11.98 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003723, allocations: 4 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.003906, allocations: 135.7 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.00392, allocations: 5.312 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.00394, allocations: 11.97 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.004106, allocations: 111.7 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004108, allocations: 0 / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004108, allocations: 1.75 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.004112, allocations: 0 / 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.0003575/0.00447, allocations: 388.4 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.004503, allocations: 8.75 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.004765, allocations: 42.16 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.291e-05/0.004838, allocations: 104.6 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.004849, allocations: 5.734 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.004867, allocations: 4.375 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.004998, allocations: 99.16 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.005004, allocations: 192 / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005014, allocations: 384 / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.00502, allocations: 384 / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.005064, allocations: 23.92 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.005193, allocations: 124.6 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.00536, allocations: 64.27 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.005397, allocations: 20.22 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.005412, allocations: 4 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.005432, allocations: 39.12 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.005433, allocations: 0 / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.001456/0.006889, allocations: 458 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.006917, allocations: 60.41 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.006981, allocations: 149.9 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.006997, allocations: 30.55 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.007205, allocations: 130.9 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.007236, allocations: 26.02 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.007278, allocations: 31.36 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.007406, allocations: 492.1 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.007451, allocations: 31.97 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.007492, allocations: 31.98 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.007584, allocations: 66.45 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.007585, allocations: 0 / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000143/0.007728, allocations: 113.6 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.007739, allocations: 4 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007743, allocations: 1.797 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007754, allocations: 3.938 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.007853, allocations: 19.97 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.007859, allocations: 11.92 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.007909, allocations: 1.094 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.00792, allocations: 7.984 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 6.609e-05/0.007986, allocations: 162.4 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.008003, allocations: 3.938 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.008037, allocations: 13.47 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.008039, allocations: 1.422 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008042, allocations: 3.938 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008045, allocations: 0.7188 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.039e-05/0.008136, allocations: 138.9 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.008136, allocations: 0.6562 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.008223, allocations: 31.67 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008225, allocations: 0 / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.008239, allocations: 7.984 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00824, allocations: 0 / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008241, allocations: 4 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.008518, allocations: 176.3 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.008524, allocations: 0 / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.008539, allocations: 3.938 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.008601, allocations: 9.453 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.008615, allocations: 4 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.008627, allocations: 11.92 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.008654, allocations: 124.2 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008654, allocations: 0 / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001637/0.008818, allocations: 33 kB / 0.8171 GB, free: 11.78 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.0001372/0.008955, allocations: 128.2 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.009102, allocations: 80.64 kB / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.009104, allocations: 0 / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.299e-05/0.009157, allocations: 52.31 kB / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.009297, allocations: 18.77 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.0004959/0.009793, allocations: 162.3 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.009821, allocations: 55.3 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.583e-05/0.009917, allocations: 31.92 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.009965, allocations: 16.48 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.009966, allocations: 0 / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.003394/0.01336, allocations: 1.799 MB / 0.8194 GB, free: 9.453 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: 4.722244245931506]