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.001176/0.001176, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001627/0.001627, allocations: 165.4 kB / 24.87 MB, free: 9.27 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.9925/0.9925, allocations: 177.2 MB / 205.3 MB, free: 5.516 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.953/1.953, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.463e-06/1.463e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.498e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001742/0.001767, allocations: 1.338 MB / 0.8141 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.002623, allocations: 0.6382 MB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.002655, allocations: 0 / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.002681, allocations: 5.625 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.002729, allocations: 7.922 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.003109, allocations: 109 kB / 0.8149 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.003165, allocations: 23.92 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.003203, allocations: 7.938 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.003237, allocations: 15.98 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.003297, allocations: 12.62 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.003309, allocations: 0 / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.003497, allocations: 140.5 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.003512, allocations: 4 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.003529, allocations: 13.58 kB / 0.8151 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003692, allocations: 111.7 kB / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003694, allocations: 0 / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003695, allocations: 0 / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.003699, allocations: 3.938 kB / 0.8152 GB, free: 15.04 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.0006003/0.004299, allocations: 381.7 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.004335, allocations: 8.031 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.004622, allocations: 42.97 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.004705, allocations: 108.6 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004716, allocations: 4.875 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.004734, allocations: 0.9688 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.004859, allocations: 97.34 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004866, allocations: 192 / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.004877, allocations: 5.531 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004882, allocations: 384 / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.004919, allocations: 21.3 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.005032, allocations: 101.2 kB / 0.8159 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.005175, allocations: 56.83 kB / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.005199, allocations: 19.69 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.005213, allocations: 8.031 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.005236, allocations: 37.38 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005237, allocations: 2.219 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.001398/0.006635, allocations: 437.5 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.006664, allocations: 55.41 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.006722, allocations: 154.4 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.006736, allocations: 26.2 kB / 0.8167 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.006768, allocations: 135.4 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.006799, allocations: 19.84 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.006844, allocations: 28.73 kB / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.006955, allocations: 496.1 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.006995, allocations: 27.97 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.007028, allocations: 22.58 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.007106, allocations: 59.61 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.007107, allocations: 0 / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001366/0.007244, allocations: 110.1 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.007257, allocations: 8 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007262, allocations: 1.453 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.00727, allocations: 0 / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.007373, allocations: 20.97 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.007375, allocations: 0 / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.007429, allocations: 8.781 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.007441, allocations: 7.984 kB / 0.8176 GB, free: 12.37 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 7.747e-05/0.007519, allocations: 157.2 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.007538, allocations: 11.67 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.007573, allocations: 8.125 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.007576, allocations: 4 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.007578, allocations: 0 / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.007582, allocations: 3.938 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.007683, allocations: 121 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007684, allocations: 0 / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.322e-05/0.007778, allocations: 19.97 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.007782, allocations: 5.031 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.007794, allocations: 3.984 kB / 0.8179 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.007795, allocations: 240 / 0.8179 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007796, allocations: 1.125 kB / 0.8179 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.008011, allocations: 173.4 kB / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.008018, allocations: 0 / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.008033, allocations: 0 / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.008096, allocations: 9.062 kB / 0.8181 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.00811, allocations: 7.984 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.008123, allocations: 12.64 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.008155, allocations: 121.1 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008155, allocations: 0 / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001752/0.00833, allocations: 31.88 kB / 0.8182 GB, free: 11.64 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.0001609/0.008491, allocations: 132.4 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.008619, allocations: 79.55 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008621, allocations: 1.094 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.008665, allocations: 43.59 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.008814, allocations: 16.64 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.009315, allocations: 152.9 kB / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.009356, allocations: 55.36 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.009497, allocations: 27.94 kB / 0.8187 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.009607, allocations: 94.16 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.009608, allocations: 0 / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.003422/0.01303, allocations: 1.841 MB / 0.8206 GB, free: 9.215 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.301747840829194]