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.0009899/0.0009899, allocations: 76.81 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.00105/0.00105, allocations: 161 kB / 24.17 MB, free: 328 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.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.944/1.944, allocations: 377.9 MB / 0.624 GB, free: 8.367 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 1.473e-06/1.473e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.208e-05, allocations: 11.23 kB / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001359/0.001381, allocations: 0.6758 MB / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001525/0.001534, allocations: 10.19 kB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.001587, allocations: 0 / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.479e-05/0.001682, allocations: 6.047 kB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.001718, allocations: 8 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.24e-05/0.001781, allocations: 0 / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.001861, allocations: 27.7 kB / 0.7608 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.001972, allocations: 19.97 kB / 0.7608 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.002011, allocations: 17.52 kB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.002045, allocations: 14.55 kB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.002067, allocations: 4 kB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.002078, allocations: 0.8438 kB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.002113, allocations: 13.73 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.002142, allocations: 16.47 kB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002247, allocations: 31.41 kB / 0.7609 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.002251, allocations: 4 kB / 0.7609 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002252, allocations: 0 / 0.7609 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.002255, allocations: 0 / 0.7609 GB, free: 5.812 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.0002714/0.002527, allocations: 237.8 kB / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.002558, allocations: 13.5 kB / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.002586, allocations: 12.92 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.002717, allocations: 122.3 kB / 0.7612 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.002727, allocations: 5.562 kB / 0.7613 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.002735, allocations: 8.375 kB / 0.7613 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.609e-05/0.002821, allocations: 53.83 kB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.002829, allocations: 1.062 kB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.002835, allocations: 1.625 kB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.002841, allocations: 384 / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.00286, allocations: 15.94 kB / 0.7613 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.003115, allocations: 341.8 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.003242, allocations: 173.1 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.003261, allocations: 84.16 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.003278, allocations: 79.28 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.003311, allocations: 117.8 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.003312, allocations: 0 / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.948e-05/0.003361, allocations: 29.69 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.003402, allocations: 126.7 kB / 0.7622 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.003471, allocations: 118.6 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.974e-06/0.003478, allocations: 25.7 kB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.003517, allocations: 108.6 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.003518, allocations: 0 / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.003542, allocations: 13.72 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.00361, allocations: 318.8 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.003615, allocations: 0 / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.003621, allocations: 3.938 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/0.003647, allocations: 13.44 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.00365, allocations: 3.938 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.578e-05/0.003705, allocations: 30.95 kB / 0.7628 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.003714, allocations: 4 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.003719, allocations: 4.625 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.003729, allocations: 0 / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.003768, allocations: 4.75 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.003771, allocations: 3.984 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.003784, allocations: 4.656 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.003791, allocations: 0 / 0.7629 GB, free: 3.629 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.594e-05/0.003857, allocations: 195.1 kB / 0.7631 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.003892, allocations: 104.9 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.003928, allocations: 112.5 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-05/0.003974, allocations: 188.3 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/0.004011, allocations: 180.3 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-05/0.004051, allocations: 180.3 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.004173, allocations: 333.4 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.004196, allocations: 101 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.00422, allocations: 108 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.762e-05/0.004257, allocations: 180.2 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.004297, allocations: 188.2 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.629e-05/0.004333, allocations: 180.2 kB / 0.7648 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-05/0.004372, allocations: 180.3 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.004615, allocations: 299.8 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.004648, allocations: 116.8 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.004695, allocations: 180.3 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.004744, allocations: 110.8 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.00479, allocations: 188.1 kB / 0.7659 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.004815, allocations: 101 kB / 0.7659 GB, free: 308 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.004838, allocations: 16.84 kB / 0.766 GB, free: 288 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.004838, allocations: 0 / 0.766 GB, free: 288 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001185/0.004957, allocations: 5.562 kB / 0.766 GB, free: 284 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 8.549e-05/0.005042, allocations: 151.7 kB / 0.7661 GB, free: 124 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.649e-05/0.005089, allocations: 14.08 kB / 0.7661 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.005091, allocations: 0 / 0.7661 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.005092, allocations: 0 / 0.7661 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.00532, allocations: 468.3 kB / 0.7666 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.005507, allocations: 199.7 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.005537, allocations: 56.2 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.005553, allocations: 0 / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.005593, allocations: 56.45 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.005593, allocations: 0 / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.001699/0.007292, allocations: 352.6 kB / 0.7672 GB, free: 14.96 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 -s gbode -gbm=radauIIA3 -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.088339730165899]