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.001192/0.001192, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001291/0.001291, allocations: 161 kB / 24.16 MB, free: 336 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 1.006/1.006, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.844/1.844, allocations: 377.9 MB / 0.624 GB, free: 8.332 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.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.114e-06/2.114e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.576e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001426/0.001452, allocations: 0.6419 MB / 0.7606 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.00159, allocations: 7.938 kB / 0.7606 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.001636, allocations: 1.594 kB / 0.7606 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.001729, allocations: 4.484 kB / 0.7606 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.998e-05/0.001759, allocations: 4 kB / 0.7606 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.963e-05/0.001819, allocations: 4.531 kB / 0.7607 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.001893, allocations: 28.41 kB / 0.7607 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.00199, allocations: 19.97 kB / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.002026, allocations: 22.83 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.879e-05/0.002054, allocations: 9.203 kB / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.002075, allocations: 4 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.002083, allocations: 0.5625 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.002111, allocations: 14.92 kB / 0.7607 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.002136, allocations: 9.859 kB / 0.7608 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.168e-05/0.002217, allocations: 37.28 kB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002219, allocations: 0 / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.384e-06/0.002222, allocations: 4 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.002225, allocations: 1.406 kB / 0.7608 GB, free: 5.875 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.0002706/0.002496, allocations: 240.9 kB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.002526, allocations: 8.688 kB / 0.761 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.002551, allocations: 8.938 kB / 0.761 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.002668, allocations: 123.1 kB / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.002678, allocations: 9.031 kB / 0.7612 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.002689, allocations: 4.375 kB / 0.7612 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.494e-05/0.002774, allocations: 58.97 kB / 0.7612 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.00278, allocations: 192 / 0.7612 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.002788, allocations: 5.031 kB / 0.7612 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.002793, allocations: 384 / 0.7612 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.002814, allocations: 20.81 kB / 0.7613 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.003068, allocations: 337 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.003129, allocations: 178.6 kB / 0.7617 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.003151, allocations: 80.14 kB / 0.7618 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.003169, allocations: 75.28 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.003202, allocations: 110.5 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.003203, allocations: 0 / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.709e-05/0.00325, allocations: 32.12 kB / 0.762 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.003296, allocations: 130.6 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.003374, allocations: 126.6 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.003382, allocations: 25.7 kB / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.003416, allocations: 91.83 kB / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.003418, allocations: 0 / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.003443, allocations: 21.69 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.003583, allocations: 315.6 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-06/0.003589, allocations: 0 / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.003595, allocations: 0.75 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.003619, allocations: 10.3 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.003622, allocations: 3.938 kB / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.846e-05/0.00368, allocations: 39.81 kB / 0.7628 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.00369, allocations: 4 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.003694, allocations: 0 / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.003704, allocations: 0 / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.003745, allocations: 4 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.003748, allocations: 1.312 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.003762, allocations: 8.547 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.003771, allocations: 4 kB / 0.7628 GB, free: 3.695 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 (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 6.615e-05/0.003837, allocations: 196.6 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.003869, allocations: 103.4 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.003907, allocations: 112.4 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/0.003946, allocations: 184.3 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-05/0.003986, allocations: 184.3 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.153e-05/0.004038, allocations: 188.2 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.004165, allocations: 321.4 kB / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.004189, allocations: 108.9 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.004213, allocations: 103.7 kB / 0.7642 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.826e-05/0.004251, allocations: 180.2 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.00429, allocations: 184.2 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-05/0.004328, allocations: 180.2 kB / 0.7647 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-05/0.004366, allocations: 184.2 kB / 0.7649 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.963e-05/0.004456, allocations: 307.8 kB / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.004488, allocations: 108.9 kB / 0.7653 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.004536, allocations: 185.5 kB / 0.7655 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.73e-05/0.004583, allocations: 104.9 kB / 0.7656 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.004626, allocations: 180.3 kB / 0.7658 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.00465, allocations: 105.9 kB / 0.7659 GB, free: 380 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.063e-05/0.004671, allocations: 16.84 kB / 0.7659 GB, free: 360 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004671, allocations: 0 / 0.7659 GB, free: 360 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001179/0.004789, allocations: 4.938 kB / 0.7659 GB, free: 356 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.665e-05/0.004886, allocations: 155 kB / 0.766 GB, free: 196 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.619e-05/0.004932, allocations: 12.86 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.004935, allocations: 0 / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-06/0.004936, allocations: 1.562 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.00531, allocations: 459.7 kB / 0.7665 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.005503, allocations: 215.6 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.908e-05/0.005532, allocations: 59.34 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.632e-05/0.005548, allocations: 0.6562 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.005582, allocations: 52.03 kB / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.005582, allocations: 0 / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.001886/0.007468, allocations: 346.5 kB / 0.7671 GB, free: 15.03 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: 5.000438708811998]