Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.0009349/0.0009349, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.0009528/0.0009528, allocations: 161.4 kB / 24.17 MB, free: 332 kB / 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.9582/0.9582, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.861/1.861, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.398e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001141/0.001155, allocations: 0.6426 MB / 0.7606 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.001282, allocations: 5.219 kB / 0.7606 GB, free: 6 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.001328, allocations: 0 / 0.7606 GB, free: 6 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.622e-05/0.001414, allocations: 11.92 kB / 0.7606 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.83e-05/0.001442, allocations: 1.422 kB / 0.7606 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.46e-05/0.001497, allocations: 0 / 0.7606 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.00157, allocations: 29.38 kB / 0.7607 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.001665, allocations: 19.97 kB / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.001701, allocations: 20.86 kB / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.829e-05/0.001729, allocations: 14.02 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.001747, allocations: 4.984 kB / 0.7607 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.001756, allocations: 0.5 kB / 0.7607 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.001783, allocations: 6.922 kB / 0.7607 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.001806, allocations: 13.73 kB / 0.7607 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.507e-05/0.001881, allocations: 35.98 kB / 0.7608 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-06/0.001882, allocations: 4 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.001883, allocations: 0.6562 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.001886, allocations: 0.7188 kB / 0.7608 GB, free: 5.859 MB / 0.7136 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.0002139/0.002099, allocations: 241.8 kB / 0.761 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.002129, allocations: 13.06 kB / 0.761 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.002153, allocations: 8.922 kB / 0.761 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.002264, allocations: 122.7 kB / 0.7612 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.002273, allocations: 4.375 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.002284, allocations: 5.141 kB / 0.7612 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.014e-05/0.002364, allocations: 62.84 kB / 0.7612 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.00237, allocations: 192 / 0.7612 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.002377, allocations: 4.375 kB / 0.7612 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.002382, allocations: 384 / 0.7612 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.002402, allocations: 18.06 kB / 0.7612 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.002653, allocations: 345 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.002712, allocations: 173.1 kB / 0.7617 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.002734, allocations: 85.38 kB / 0.7618 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.002751, allocations: 75.28 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.002785, allocations: 109.8 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.002785, allocations: 2.234 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.197e-05/0.002827, allocations: 29.64 kB / 0.762 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.002872, allocations: 126.7 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.002943, allocations: 127.2 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.00295, allocations: 27.23 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.002986, allocations: 94.38 kB / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.002987, allocations: 0 / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.003011, allocations: 17.7 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.003082, allocations: 316.1 kB / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.003087, allocations: 0 / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.003093, allocations: 3.984 kB / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.003116, allocations: 15.28 kB / 0.7627 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.003118, allocations: 3.938 kB / 0.7627 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.487e-05/0.003173, allocations: 29.7 kB / 0.7628 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.003183, allocations: 4.5 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.003186, allocations: 0.75 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.0032, allocations: 4 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.003235, allocations: 4.734 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.003238, allocations: 0 / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.00325, allocations: 4.719 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.003258, allocations: 0.6562 kB / 0.7628 GB, free: 3.68 MB / 0.7136 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 (mulMin.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 6.697e-05/0.003325, allocations: 197.4 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.003357, allocations: 104.9 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.003391, allocations: 112.4 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/0.003428, allocations: 181 kB / 0.7633 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-05/0.003471, allocations: 188.2 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-05/0.003512, allocations: 185.8 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.003638, allocations: 329.4 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/0.003663, allocations: 109 kB / 0.7641 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.003688, allocations: 101 kB / 0.7642 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-05/0.003731, allocations: 186.6 kB / 0.7644 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.003773, allocations: 184.2 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-05/0.003814, allocations: 180.2 kB / 0.7647 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-05/0.00385, allocations: 180.3 kB / 0.7649 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.003942, allocations: 303.8 kB / 0.7652 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.003975, allocations: 116.8 kB / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.004019, allocations: 184.2 kB / 0.7655 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.004065, allocations: 103.5 kB / 0.7656 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.004114, allocations: 184.2 kB / 0.7658 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.004141, allocations: 105 kB / 0.7659 GB, free: 356 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.966e-05/0.004161, allocations: 12.86 kB / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004161, allocations: 0 / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001136/0.004275, allocations: 4 kB / 0.7659 GB, free: 336 kB / 0.7136 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.223e-05/0.004367, allocations: 152.7 kB / 0.766 GB, free: 176 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.337e-05/0.00442, allocations: 17.78 kB / 0.766 GB, free: 156 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.004423, allocations: 0 / 0.766 GB, free: 156 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.004425, allocations: 3.938 kB / 0.766 GB, free: 152 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.004649, allocations: 462.6 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.004839, allocations: 203.7 kB / 0.7667 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.00487, allocations: 55.36 kB / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.004887, allocations: 3.984 kB / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.004926, allocations: 51.38 kB / 0.7668 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.004926, allocations: 0 / 0.7668 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.001542/0.006468, allocations: 345.4 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.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.874948471784592]