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.001482/0.001482, 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.001219/0.001219, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.9398/0.9398, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.916/1.916, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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 2.365e-06/2.365e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.683e-05, allocations: 7.031 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001613/0.00164, allocations: 0.6312 MB / 0.8134 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001405/0.00178, allocations: 15.92 kB / 0.8134 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.001834, allocations: 0 / 0.8134 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/0.00193, allocations: 4.5 kB / 0.8134 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.001965, allocations: 2.406 kB / 0.8134 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.467e-05/0.00203, allocations: 4 kB / 0.8134 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.002107, allocations: 27.91 kB / 0.8134 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.002223, allocations: 15.98 kB / 0.8134 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.002254, allocations: 19.98 kB / 0.8135 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.091e-05/0.002285, allocations: 15.92 kB / 0.8135 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.002304, allocations: 4 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.002313, allocations: 5.375 kB / 0.8135 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.00234, allocations: 4 kB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.002364, allocations: 19.91 kB / 0.8135 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.002453, allocations: 29.33 kB / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002455, allocations: 0 / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002456, allocations: 0 / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.00246, allocations: 0 / 0.8135 GB, free: 0.6797 MB / 0.7605 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.0002717/0.002732, allocations: 377.1 kB / 0.8139 GB, free: 280 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.002766, allocations: 8.031 kB / 0.8139 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.002803, allocations: 17.42 kB / 0.8139 GB, free: 256 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.002931, allocations: 125.6 kB / 0.814 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.002942, allocations: 4.375 kB / 0.814 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.002951, allocations: 8.375 kB / 0.8141 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/0.003029, allocations: 42.81 kB / 0.8141 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.003039, allocations: 0.7188 kB / 0.8141 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.003046, allocations: 384 / 0.8141 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003053, allocations: 5.75 kB / 0.8141 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.003078, allocations: 23.86 kB / 0.8141 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.003424, allocations: 0.5025 MB / 0.8146 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.003775, allocations: 274.5 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.003804, allocations: 126.9 kB / 0.815 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.003831, allocations: 119.2 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.003873, allocations: 153.5 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.003873, allocations: 0 / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.39e-05/0.003927, allocations: 29.7 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.003986, allocations: 179.4 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.004081, allocations: 181.8 kB / 0.8156 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.004088, allocations: 30.73 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.004138, allocations: 142.8 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.004139, allocations: 0 / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.004167, allocations: 24.38 kB / 0.8158 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.004278, allocations: 0.4924 MB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-06/0.004287, allocations: 3.938 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.004293, allocations: 1.438 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.004324, allocations: 15.62 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004326, allocations: 1.312 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.662e-05/0.004402, allocations: 37.59 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.004416, allocations: 8 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004421, allocations: 3.031 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.004429, allocations: 0 / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.004482, allocations: 7.984 kB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.004485, allocations: 0 / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.004498, allocations: 0 / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.004505, allocations: 4 kB / 0.8164 GB, free: 13.58 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: 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 8.724e-05/0.004592, allocations: 275.7 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.004649, allocations: 153.4 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.004692, allocations: 152.3 kB / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.00475, allocations: 278.1 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.543e-05/0.004806, allocations: 264.1 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.964e-05/0.004865, allocations: 268 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.005043, allocations: 496.5 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/0.005079, allocations: 152.8 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.005112, allocations: 150.5 kB / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-05/0.005167, allocations: 264.1 kB / 0.8187 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.005227, allocations: 276 kB / 0.819 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.645e-05/0.005283, allocations: 268.1 kB / 0.8192 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-05/0.005342, allocations: 273 kB / 0.8195 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.005474, allocations: 444 kB / 0.8199 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.005513, allocations: 156.8 kB / 0.8201 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.005577, allocations: 268.9 kB / 0.8203 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.005632, allocations: 148.8 kB / 0.8205 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.00569, allocations: 264.9 kB / 0.8207 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.005724, allocations: 156.8 kB / 0.8209 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.005769, allocations: 136.4 kB / 0.821 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005769, allocations: 0 / 0.821 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001426/0.005912, allocations: 8 kB / 0.821 GB, free: 8.652 MB / 0.7761 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 0.0001042/0.006016, allocations: 215.3 kB / 0.8212 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.788e-05/0.006074, allocations: 14.28 kB / 0.8212 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006075, allocations: 3.938 kB / 0.8212 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.006076, allocations: 0 / 0.8212 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.006393, allocations: 0.7091 MB / 0.8219 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.006841, allocations: 253.3 kB / 0.8222 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.006869, allocations: 51.36 kB / 0.8222 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.006888, allocations: 6.844 kB / 0.8222 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.006924, allocations: 70.19 kB / 0.8223 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.006925, allocations: 0 / 0.8223 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of Templates: time 0.001679/0.008604, allocations: 349.8 kB / 0.8226 GB, free: 6.953 MB / 0.7761 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: 5.012034511659294]