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.001782/0.001782, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.003354/0.003354, allocations: 217.1 kB / 22.25 MB, free: 4.855 MB / 14.72 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.297/3.297, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.41 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4511, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001973/0.453, allocations: 0.6113 MB / 1.326 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001577/0.4532, allocations: 7.938 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.4532, allocations: 4 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.4533, allocations: 4 kB / 1.326 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.4534, allocations: 7.922 kB / 1.326 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.409e-05/0.4535, allocations: 4 kB / 1.326 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.4536, allocations: 19.98 kB / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.4537, allocations: 23.91 kB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.4537, allocations: 15.94 kB / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.928e-05/0.4538, allocations: 15.92 kB / 1.326 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.4538, allocations: 4 kB / 1.326 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.4538, allocations: 0 / 1.326 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.4538, allocations: 11.94 kB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.4539, allocations: 15.94 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.454, allocations: 55.73 kB / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.454, allocations: 3.938 kB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.492e-06/0.454, allocations: 0 / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.454, allocations: 0 / 1.326 GB, free: 1.066 MB / 1.014 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.0003855/0.4544, allocations: 278.6 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4544, allocations: 8.031 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.4545, allocations: 4.938 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.4547, allocations: 118.5 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4547, allocations: 8.375 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.4547, allocations: 8.375 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.4549, allocations: 74.17 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4549, allocations: 4.125 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4549, allocations: 7.938 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.4549, allocations: 4 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.935e-05/0.455, allocations: 51.95 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.4555, allocations: 410.9 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4556, allocations: 169.1 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.4557, allocations: 84.14 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.4557, allocations: 75.28 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/0.4558, allocations: 113.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4558, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.855e-05/0.4558, allocations: 33.59 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.4559, allocations: 130.7 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.4561, allocations: 129.8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4561, allocations: 25.7 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.4562, allocations: 104.1 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.4562, allocations: 3.984 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.4562, allocations: 17.72 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4564, allocations: 314.8 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.4564, allocations: 7.984 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.4564, allocations: 19.98 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.4565, allocations: 8.859 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4565, allocations: 0 / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001229/0.4566, allocations: 49.62 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4566, allocations: 11.98 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4566, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4566, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.4567, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4567, allocations: 4 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.4567, allocations: 8.031 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4567, allocations: 4 kB / 1.328 GB, free: 14.64 MB / 1.029 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.0001355/0.4569, allocations: 193.6 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.4569, allocations: 108.9 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.457, allocations: 108.4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.621e-05/0.4571, allocations: 192.2 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.695e-05/0.4572, allocations: 180.2 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.209e-05/0.4573, allocations: 180.2 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.4575, allocations: 368.8 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.652e-05/0.4576, allocations: 101 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.4576, allocations: 113 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.453e-05/0.4577, allocations: 184.2 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.4578, allocations: 176.3 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.179e-05/0.4579, allocations: 180.2 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.012e-05/0.458, allocations: 184.3 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.4581, allocations: 319.6 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.4582, allocations: 105 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.4583, allocations: 180.5 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.4584, allocations: 105 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.4585, allocations: 188.3 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.4585, allocations: 104.9 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.4586, allocations: 99.27 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4586, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002327/0.4588, allocations: 7.938 kB / 1.332 GB, free: 11.14 MB / 1.029 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.0001491/0.459, allocations: 170.5 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.4591, allocations: 15.98 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4591, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.4591, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.4595, allocations: 467.1 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.4599, allocations: 196.3 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.46, allocations: 75.33 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.46, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.46, allocations: 7.438 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.46, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of Templates: time 0.002916/0.4629, allocations: 310.2 kB / 1.333 GB, free: 9.867 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.370077442377806]