Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.001049/0.001049, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009658/0.0009658, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.847/1.847, allocations: 377.8 MB / 0.6236 GB, free: 8.52 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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.857e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002156/0.002175, allocations: 1.31 MB / 0.8128 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.002687, allocations: 236.3 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.002707, allocations: 2.031 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.00273, allocations: 0 / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.002778, allocations: 3.984 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.003088, allocations: 43.77 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.003149, allocations: 17.36 kB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.003189, allocations: 4 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.003229, allocations: 15.97 kB / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.003304, allocations: 4.5 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.003319, allocations: 0 / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.003424, allocations: 49.23 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.003442, allocations: 11.92 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.003462, allocations: 3.984 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.003617, allocations: 45.83 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.00362, allocations: 3.984 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003621, allocations: 0 / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.003625, allocations: 0 / 0.8133 GB, free: 15.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003689/0.003994, allocations: 362.3 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.004033, allocations: 8.031 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.004199, allocations: 17.2 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.784e-05/0.004267, allocations: 108.6 kB / 0.8137 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.00428, allocations: 4.375 kB / 0.8137 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.004314, allocations: 16.81 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.004446, allocations: 68.48 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.004454, allocations: 192 / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004464, allocations: 1.094 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.004472, allocations: 384 / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.004518, allocations: 16.45 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.004655, allocations: 118.1 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.004761, allocations: 51.11 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.004797, allocations: 19.62 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.004808, allocations: 4.531 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.004836, allocations: 37.52 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.004837, allocations: 1.344 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.001642/0.006479, allocations: 427.7 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.00651, allocations: 56.75 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/0.006556, allocations: 142.2 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.006571, allocations: 25.7 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.006606, allocations: 126.9 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.00665, allocations: 32.86 kB / 0.8148 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.006698, allocations: 31.38 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.00683, allocations: 492.1 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.006878, allocations: 29.86 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.006919, allocations: 23.92 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.007021, allocations: 51.69 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007022, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001534/0.007175, allocations: 93.58 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.007193, allocations: 10.41 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.007199, allocations: 448 / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.007218, allocations: 0 / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.007355, allocations: 15.98 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.007363, allocations: 3.938 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.00741, allocations: 8 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.007421, allocations: 4.531 kB / 0.8156 GB, free: 13.38 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 (9): * Single equations (assignments): 9 * 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 9.017e-05/0.007511, allocations: 161.9 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.007532, allocations: 4 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.007568, allocations: 11.97 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.007572, allocations: 4 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.007578, allocations: 4.656 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.007583, allocations: 4.641 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.007694, allocations: 126.6 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007696, allocations: 4.594 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.007803, allocations: 16 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.007806, allocations: 3.219 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.007818, allocations: 3.984 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00782, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007822, allocations: 80 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.008071, allocations: 152.3 kB / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.00808, allocations: 7.953 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.008095, allocations: 0 / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.008168, allocations: 8 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.008194, allocations: 6.391 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.008213, allocations: 7.938 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.008259, allocations: 123.2 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008259, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002171/0.008476, allocations: 16 kB / 0.8162 GB, free: 12.67 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 (8): * Single equations (assignments): 8 * 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 9.502e-05/0.008571, allocations: 96.19 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.008728, allocations: 75.58 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.00873, allocations: 1.125 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.008785, allocations: 35.67 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.008968, allocations: 4 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.009627, allocations: 183.6 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.009664, allocations: 59.3 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.799e-05/0.009731, allocations: 14.39 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.009771, allocations: 8.5 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.009772, allocations: 0 / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.002914/0.01269, allocations: 0.728 MB / 0.8174 GB, free: 11.47 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.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.245946887880564]