Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001893/0.001893, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002222/0.002222, allocations: 214.3 kB / 22.24 MB, free: 5.262 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.617/3.617, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [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.002127/0.002127, allocations: 68.67 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4547, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.002433/0.4572, allocations: 0.6245 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001763/0.4573, allocations: 8 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.4574, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.4575, allocations: 3.938 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.058e-05/0.4575, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.025e-05/0.4576, allocations: 3.984 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.4577, allocations: 35.91 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.4579, allocations: 15.98 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.4579, allocations: 19.94 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.458, allocations: 15.92 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.458, allocations: 4 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.458, allocations: 0 / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.4581, allocations: 11.94 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.4581, allocations: 11.94 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.4582, allocations: 55.73 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4582, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4582, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4583, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 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.0004343/0.4587, allocations: 274.6 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4587, allocations: 12.03 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.4588, allocations: 8.891 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.4591, allocations: 118.5 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4591, allocations: 4.375 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.4591, allocations: 4.375 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4593, allocations: 82.09 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4593, allocations: 192 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.4594, allocations: 7.938 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.4594, allocations: 4 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4595, allocations: 47.97 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.4601, allocations: 418.8 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4602, allocations: 177.1 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.4603, allocations: 80.14 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.4603, allocations: 75.28 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.4604, allocations: 113.8 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.4604, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001111/0.4605, allocations: 29.7 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.4606, allocations: 126.7 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4608, allocations: 129.8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.4608, allocations: 25.7 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.4609, allocations: 104.1 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.4609, allocations: 0 / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.4609, allocations: 29.58 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4611, allocations: 314.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.4611, allocations: 7.984 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.4611, allocations: 12 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.4611, allocations: 12.84 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4611, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001446/0.4613, allocations: 49.64 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4613, allocations: 4.094 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4613, allocations: 8 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4613, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.4614, allocations: 3.984 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4614, allocations: 7.938 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.4614, allocations: 3.938 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4615, allocations: 4 kB / 1.367 GB, free: 10.32 MB / 1.061 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 0.0001629/0.4616, allocations: 193.1 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.4617, allocations: 105 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.4617, allocations: 104.5 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.151e-05/0.4618, allocations: 188.2 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.324e-05/0.4619, allocations: 184.2 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.449e-05/0.462, allocations: 184.1 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.4623, allocations: 364.9 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/0.4623, allocations: 101 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.4624, allocations: 114 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/0.4624, allocations: 180.3 kB / 1.368 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.4625, allocations: 188.1 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.37e-05/0.4626, allocations: 176.3 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.408e-05/0.4627, allocations: 188.2 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.4629, allocations: 307.8 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.4629, allocations: 116.9 kB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/0.463, allocations: 176.5 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.4631, allocations: 101 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.4632, allocations: 192.2 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.4633, allocations: 105 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.927e-05/0.4633, allocations: 95.27 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4633, allocations: 0 / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002228/0.4636, allocations: 7.938 kB / 1.37 GB, free: 6.824 MB / 1.061 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.0001383/0.4637, allocations: 170.5 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.379e-05/0.4638, allocations: 23.92 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4638, allocations: 0 / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4638, allocations: 0 / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.4642, allocations: 455.7 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.4646, allocations: 192.2 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.4647, allocations: 71.33 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.4647, allocations: 4 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.4647, allocations: 7.438 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4647, allocations: 0 / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of Templates: time 0.002889/0.4676, allocations: 318.6 kB / 1.371 GB, free: 5.562 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.729344446212053]