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.0007643/0.0007643, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002338, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001084/0.001084, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.00241, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.8959/0.8959, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07483/0.9707, allocations: 53.64 MB / 243.3 MB, free: 15.6 MB / 250.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.809/1.809, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4445/2.254, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 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.104e-06/2.104e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.36e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001497/0.001521, allocations: 0.6733 MB / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 6.204e-05/0.001583, allocations: 19.91 kB / 0.73 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.001621, allocations: 0 / 0.73 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.001671, allocations: 4.703 kB / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.431e-05/0.001696, allocations: 0 / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.24e-05/0.001728, allocations: 0 / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.001802, allocations: 28.25 kB / 0.73 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.001903, allocations: 26.58 kB / 0.73 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.001952, allocations: 25.17 kB / 0.7301 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.13e-05/0.001983, allocations: 13.95 kB / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.002005, allocations: 4 kB / 0.7301 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.002013, allocations: 1.406 kB / 0.7301 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.002045, allocations: 10.84 kB / 0.7301 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.002071, allocations: 6.297 kB / 0.7301 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.999e-05/0.002151, allocations: 31.31 kB / 0.7301 GB, free: 3.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.002166, allocations: 1.781 kB / 0.7301 GB, free: 3.762 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002167, allocations: 0 / 0.7301 GB, free: 3.762 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.002183, allocations: 0 / 0.7301 GB, free: 3.762 MB / 0.698 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.0003001/0.002483, allocations: 261.8 kB / 0.7304 GB, free: 3.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.002511, allocations: 9 kB / 0.7304 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.002538, allocations: 4.938 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.002663, allocations: 130.6 kB / 0.7305 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.002671, allocations: 4.938 kB / 0.7305 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.002679, allocations: 1.344 kB / 0.7305 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/0.002764, allocations: 54.06 kB / 0.7306 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.002771, allocations: 192 / 0.7306 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.002777, allocations: 5.344 kB / 0.7306 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.002782, allocations: 1.031 kB / 0.7306 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.002805, allocations: 20.39 kB / 0.7306 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.00307, allocations: 341 kB / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.873e-05/0.003129, allocations: 174 kB / 0.7311 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.003149, allocations: 88.52 kB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.003165, allocations: 75.78 kB / 0.7312 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.003198, allocations: 106.7 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.003199, allocations: 0 / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.811e-05/0.003258, allocations: 33.64 kB / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.003305, allocations: 136.1 kB / 0.7315 GB, free: 2.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.003375, allocations: 126.6 kB / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.003383, allocations: 25.7 kB / 0.7317 GB, free: 2.074 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.003419, allocations: 90.94 kB / 0.7317 GB, free: 1.984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.003424, allocations: 0.6562 kB / 0.7317 GB, free: 1.984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.003448, allocations: 22.38 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.003518, allocations: 310.8 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-06/0.003524, allocations: 2.062 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.003531, allocations: 4.656 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.003557, allocations: 8.859 kB / 0.7321 GB, free: 1.629 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.00356, allocations: 3.938 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.215e-05/0.003633, allocations: 42.81 kB / 0.7321 GB, free: 1.578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.003646, allocations: 4 kB / 0.7321 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.003651, allocations: 0 / 0.7321 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.00366, allocations: 1.375 kB / 0.7321 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.003717, allocations: 4.875 kB / 0.7321 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.00372, allocations: 0 / 0.7321 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.003739, allocations: 4 kB / 0.7321 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.003747, allocations: 0.875 kB / 0.7321 GB, free: 1.566 MB / 0.698 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 8.282e-05/0.00383, allocations: 188.5 kB / 0.7323 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.003864, allocations: 109 kB / 0.7324 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.003902, allocations: 110.2 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/0.003943, allocations: 180.9 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-05/0.003981, allocations: 180.2 kB / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.275e-05/0.004024, allocations: 188.2 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.004141, allocations: 322.6 kB / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/0.004169, allocations: 108.9 kB / 0.7335 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.004192, allocations: 105 kB / 0.7336 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.004233, allocations: 115.2 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.989e-05/0.004273, allocations: 184.3 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.004311, allocations: 176.3 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.882e-05/0.004349, allocations: 184.2 kB / 0.7342 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-05/0.004389, allocations: 184.8 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.783e-05/0.004477, allocations: 308.6 kB / 0.7347 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.004521, allocations: 184.2 kB / 0.7348 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.004571, allocations: 105.7 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.004611, allocations: 180.3 kB / 0.7351 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.004635, allocations: 109.7 kB / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.589e-05/0.004651, allocations: 16.84 kB / 0.7352 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.004651, allocations: 2.125 kB / 0.7352 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001115/0.004763, allocations: 8 kB / 0.7352 GB, free: 14.21 MB / 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 7.903e-05/0.004842, allocations: 152.4 kB / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.694e-05/0.004889, allocations: 6.641 kB / 0.7354 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.004893, allocations: 4 kB / 0.7354 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.004894, allocations: 0 / 0.7354 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.005118, allocations: 460.8 kB / 0.7358 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001725/0.00529, allocations: 211.7 kB / 0.736 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.005317, allocations: 55.36 kB / 0.7361 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.005336, allocations: 0 / 0.7361 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.005368, allocations: 53 kB / 0.7361 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.005368, allocations: 0 / 0.7361 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.001644/0.007012, allocations: 355.5 kB / 0.7365 GB, free: 12.9 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.ref.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: 4.560054303146899]