Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001411/0.001411, 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.001672/0.001672, allocations: 169 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 0.9573/0.9573, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.85/1.85, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8115 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.175e-05, allocations: 4.984 kB / 0.8115 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001299/0.001321, allocations: 0.6282 MB / 0.8121 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.001464, allocations: 15.81 kB / 0.8121 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.001511, allocations: 1.406 kB / 0.8121 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.497e-05/0.001606, allocations: 4 kB / 0.8122 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.036e-05/0.001646, allocations: 4.703 kB / 0.8122 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.862e-05/0.001715, allocations: 1.125 kB / 0.8122 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.968e-05/0.001795, allocations: 27.92 kB / 0.8122 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.001916, allocations: 15.98 kB / 0.8122 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.00195, allocations: 25.17 kB / 0.8122 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.847e-05/0.001978, allocations: 15.97 kB / 0.8122 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.002005, allocations: 4 kB / 0.8122 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.002015, allocations: 0 / 0.8122 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.002044, allocations: 9.5 kB / 0.8123 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.00207, allocations: 8 kB / 0.8123 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.183e-05/0.002161, allocations: 39.77 kB / 0.8123 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002164, allocations: 0 / 0.8123 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002165, allocations: 5.031 kB / 0.8123 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.002169, allocations: 0 / 0.8123 GB, free: 15.82 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000276/0.002445, allocations: 368.2 kB / 0.8127 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.002483, allocations: 12.72 kB / 0.8127 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.002519, allocations: 9.797 kB / 0.8127 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.002653, allocations: 128.5 kB / 0.8128 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.002662, allocations: 4.375 kB / 0.8128 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.002671, allocations: 4.969 kB / 0.8128 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.002776, allocations: 55.2 kB / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.002784, allocations: 192 / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.002793, allocations: 4.375 kB / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.0028, allocations: 1.125 kB / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.00283, allocations: 15.94 kB / 0.8129 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.003205, allocations: 0.5379 MB / 0.8134 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/0.003289, allocations: 269.4 kB / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.003319, allocations: 128.1 kB / 0.8138 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.003345, allocations: 119.2 kB / 0.8139 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.003383, allocations: 152.6 kB / 0.814 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.003384, allocations: 1.938 kB / 0.814 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.437e-05/0.003438, allocations: 33.7 kB / 0.8141 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.003495, allocations: 170.6 kB / 0.8142 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.003595, allocations: 181.9 kB / 0.8144 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.003603, allocations: 29.64 kB / 0.8144 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.003655, allocations: 147.9 kB / 0.8146 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.003657, allocations: 0 / 0.8146 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.003685, allocations: 23.38 kB / 0.8146 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.003792, allocations: 0.4939 MB / 0.8151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.003802, allocations: 4 kB / 0.8151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.003809, allocations: 0 / 0.8151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.003838, allocations: 15.69 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.00384, allocations: 1.531 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.003942, allocations: 37.66 kB / 0.8151 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.003954, allocations: 4 kB / 0.8151 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.003959, allocations: 0.875 kB / 0.8151 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.00397, allocations: 0 / 0.8151 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.004021, allocations: 13.64 kB / 0.8152 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.004026, allocations: 0 / 0.8152 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.00404, allocations: 4 kB / 0.8152 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.004048, allocations: 0 / 0.8152 GB, free: 12.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.987e-05/0.004128, allocations: 280.3 kB / 0.8154 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.00417, allocations: 144.9 kB / 0.8156 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.004214, allocations: 165 kB / 0.8157 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/0.004266, allocations: 268.2 kB / 0.816 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.645e-05/0.004333, allocations: 268.6 kB / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-05/0.004388, allocations: 273.1 kB / 0.8165 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.004551, allocations: 0.4998 MB / 0.817 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/0.004583, allocations: 156.8 kB / 0.8171 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.00462, allocations: 149.4 kB / 0.8173 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.07e-05/0.004681, allocations: 264.1 kB / 0.8175 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/0.004744, allocations: 277.4 kB / 0.8178 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.455e-05/0.004799, allocations: 264.4 kB / 0.818 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.338e-05/0.004862, allocations: 268 kB / 0.8183 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.004992, allocations: 453.1 kB / 0.8187 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.005034, allocations: 152.8 kB / 0.8189 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.005105, allocations: 268.1 kB / 0.8191 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.005164, allocations: 153.3 kB / 0.8193 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.005229, allocations: 268.1 kB / 0.8195 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.005262, allocations: 145.8 kB / 0.8197 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.00531, allocations: 143.1 kB / 0.8198 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00531, allocations: 0.8125 kB / 0.8198 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001404/0.005451, allocations: 7.938 kB / 0.8198 GB, free: 7.719 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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.398e-05/0.005545, allocations: 215.4 kB / 0.82 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.534e-05/0.00562, allocations: 17.03 kB / 0.82 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005622, allocations: 0 / 0.82 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.005623, allocations: 0 / 0.82 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.005985, allocations: 0.7107 MB / 0.8207 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.006244, allocations: 253.2 kB / 0.821 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.006286, allocations: 65.22 kB / 0.821 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.006305, allocations: 0 / 0.821 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.006336, allocations: 8.5 kB / 0.8211 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.006337, allocations: 0 / 0.8211 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of Templates: time 0.00193/0.008267, allocations: 337.6 kB / 0.8214 GB, free: 6.082 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.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.996855732984841]