Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 71.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8557/0.8577, allocations: 168.7 MB / 1.274 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002035/0.8598, allocations: 0.6161 MB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.8599, allocations: 11.98 kB / 1.275 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.86, allocations: 4 kB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.8601, allocations: 3.938 kB / 1.275 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.001e-05/0.8601, allocations: 0 / 1.275 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.23e-05/0.8602, allocations: 8 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.8603, allocations: 23.86 kB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.8605, allocations: 23.97 kB / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.8605, allocations: 15.98 kB / 1.275 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.8605, allocations: 15.88 kB / 1.275 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.8605, allocations: 7.938 kB / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.8606, allocations: 0 / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.8606, allocations: 15.98 kB / 1.275 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.8606, allocations: 15.88 kB / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.8607, allocations: 55.59 kB / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8608, allocations: 0 / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8608, allocations: 0 / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.8608, allocations: 0 / 1.275 GB, free: 3.582 MB / 0.9669 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.0004438/0.8612, allocations: 346.2 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8612, allocations: 12.03 kB / 1.275 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.8613, allocations: 8.891 kB / 1.275 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.8615, allocations: 180.2 kB / 1.275 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.8616, allocations: 8.375 kB / 1.275 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.8616, allocations: 4.375 kB / 1.275 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.8618, allocations: 82.16 kB / 1.275 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.8618, allocations: 192 / 1.275 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.8618, allocations: 3.938 kB / 1.275 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.8618, allocations: 4 kB / 1.275 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.8619, allocations: 47.97 kB / 1.275 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.8624, allocations: 487.2 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.8625, allocations: 165.1 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.8625, allocations: 92.08 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.8626, allocations: 75.28 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.8626, allocations: 105.8 kB / 1.276 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8626, allocations: 4 kB / 1.276 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.003e-05/0.8627, allocations: 29.7 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.8628, allocations: 126.7 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.8629, allocations: 179 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.863, allocations: 25.7 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.863, allocations: 96.09 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.863, allocations: 0 / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.8631, allocations: 13.72 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.8632, allocations: 326.8 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.8632, allocations: 11.94 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.8632, allocations: 7.984 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.8633, allocations: 16.84 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8633, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001238/0.8634, allocations: 49.69 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8634, allocations: 6.188 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8634, allocations: 0 / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.8634, allocations: 4.203 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.8635, allocations: 11.88 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.8635, allocations: 3.938 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.8635, allocations: 11.89 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.8635, allocations: 7.922 kB / 1.277 GB, free: 0.8555 MB / 0.9669 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 0.000115/0.8636, allocations: 193.1 kB / 1.277 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.8637, allocations: 112.9 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.8638, allocations: 108.9 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.78e-05/0.8639, allocations: 188.2 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-05/0.8639, allocations: 180.2 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.184e-05/0.864, allocations: 184.2 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.8643, allocations: 417.2 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-05/0.8643, allocations: 102.5 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.8644, allocations: 112.9 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-05/0.8645, allocations: 176.3 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.8646, allocations: 180.2 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.642e-05/0.8646, allocations: 180.2 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.412e-05/0.8647, allocations: 184.2 kB / 1.279 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.8649, allocations: 311.8 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.865, allocations: 198 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.8651, allocations: 180.3 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.8652, allocations: 105 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.8653, allocations: 188.1 kB / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.8653, allocations: 101.3 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001134/0.8654, allocations: 131.2 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8654, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002144/0.8656, allocations: 8 kB / 1.281 GB, free: 13.17 MB / 0.9825 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.0001602/0.8658, allocations: 175 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.24e-05/0.8659, allocations: 7.938 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8659, allocations: 8.062 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.8659, allocations: 0 / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.8663, allocations: 455.7 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.8666, allocations: 224.1 kB / 1.281 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.867, allocations: 0.6924 MB / 1.282 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.867, allocations: 8 kB / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.867, allocations: 7.438 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.867, allocations: 0 / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Templates: time 0.002827/0.8698, allocations: 484.9 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.650248877704144]