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.00107/0.00107, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002604, allocations: 449.8 kB / 10.44 MB, free: 252 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.00105/0.00105, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.00242, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9172/0.9172, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07763/0.9948, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.828/1.828, allocations: 378.3 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4469/2.275, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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 1.754e-06/1.754e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.048e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001335/0.001356, allocations: 0.6849 MB / 0.7303 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 4.114e-05/0.001397, allocations: 7.984 kB / 0.7303 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.001436, allocations: 6.828 kB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.00148, allocations: 3.938 kB / 0.7303 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.402e-05/0.001504, allocations: 0 / 0.7303 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.785e-05/0.001532, allocations: 9.078 kB / 0.7303 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/0.001608, allocations: 27.38 kB / 0.7303 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.001708, allocations: 21.19 kB / 0.7304 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.001753, allocations: 22.88 kB / 0.7304 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.001806, allocations: 17.5 kB / 0.7304 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.001837, allocations: 1.344 kB / 0.7304 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.001849, allocations: 4 kB / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.001892, allocations: 11.06 kB / 0.7304 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.001921, allocations: 5.641 kB / 0.7304 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.002002, allocations: 36.09 kB / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.002014, allocations: 1 kB / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.01e-07/0.002014, allocations: 0 / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.002028, allocations: 0.875 kB / 0.7305 GB, free: 3.621 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.0002754/0.002303, allocations: 261.2 kB / 0.7307 GB, free: 3.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.002332, allocations: 8.031 kB / 0.7307 GB, free: 3.332 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.002363, allocations: 9.625 kB / 0.7307 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.00248, allocations: 119.2 kB / 0.7308 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.002489, allocations: 5.156 kB / 0.7308 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.0025, allocations: 4.375 kB / 0.7308 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.00259, allocations: 51.23 kB / 0.7309 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.002597, allocations: 192 / 0.7309 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.002602, allocations: 5.219 kB / 0.7309 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.002609, allocations: 4.375 kB / 0.7309 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.002629, allocations: 15.92 kB / 0.7309 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.002884, allocations: 350.1 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.002941, allocations: 172.7 kB / 0.7314 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.002959, allocations: 81.55 kB / 0.7315 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.002977, allocations: 83.28 kB / 0.7316 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.003008, allocations: 105.8 kB / 0.7317 GB, free: 2.285 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.003008, allocations: 1.078 kB / 0.7317 GB, free: 2.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.137e-05/0.00306, allocations: 33.64 kB / 0.7317 GB, free: 2.246 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.003096, allocations: 128.1 kB / 0.7318 GB, free: 2.109 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.003166, allocations: 122.6 kB / 0.7319 GB, free: 1.977 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.003174, allocations: 29.7 kB / 0.732 GB, free: 1.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.003211, allocations: 95.69 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.003213, allocations: 4 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.003236, allocations: 18.36 kB / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.003305, allocations: 315.3 kB / 0.7324 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-06/0.003312, allocations: 4 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.003317, allocations: 5.594 kB / 0.7324 GB, free: 1.496 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/0.003339, allocations: 4.859 kB / 0.7324 GB, free: 1.488 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.003341, allocations: 3.938 kB / 0.7324 GB, free: 1.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.368e-05/0.003395, allocations: 43.05 kB / 0.7324 GB, free: 1.438 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.003405, allocations: 6.562 kB / 0.7325 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.003412, allocations: 0 / 0.7325 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.003423, allocations: 0 / 0.7325 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.003474, allocations: 5.594 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.003476, allocations: 0 / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.003489, allocations: 4 kB / 0.7325 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.003496, allocations: 0.9844 kB / 0.7325 GB, free: 1.426 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 6.462e-05/0.00356, allocations: 197.2 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.003593, allocations: 104.9 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.003627, allocations: 108.5 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/0.003662, allocations: 180.9 kB / 0.733 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.673e-05/0.003698, allocations: 180.2 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/0.003736, allocations: 185.4 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.003851, allocations: 321.4 kB / 0.7337 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.003883, allocations: 109 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.003904, allocations: 102.6 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.003937, allocations: 116.8 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.329e-05/0.00399, allocations: 184.3 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.004041, allocations: 180.7 kB / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.66e-05/0.004078, allocations: 181.3 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.726e-05/0.004115, allocations: 180.3 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.092e-05/0.004196, allocations: 304.8 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.004245, allocations: 189.4 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.004289, allocations: 101 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.004332, allocations: 185.5 kB / 0.7354 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.004355, allocations: 108.9 kB / 0.7355 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.771e-05/0.004373, allocations: 16.83 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004373, allocations: 0 / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001147/0.004487, allocations: 8.5 kB / 0.7356 GB, free: 14.08 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.504e-05/0.004562, allocations: 153.3 kB / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.64e-05/0.004609, allocations: 12.91 kB / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.004612, allocations: 0.6562 kB / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.004615, allocations: 0 / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.004837, allocations: 0.4902 MB / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001593/0.004996, allocations: 196.5 kB / 0.7364 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.005022, allocations: 55.36 kB / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.00508, allocations: 5.953 kB / 0.7364 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.005142, allocations: 51.38 kB / 0.7365 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of SimCode: time 1.263e-06/0.005143, allocations: 0 / 0.7365 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.001741/0.006885, allocations: 360.9 kB / 0.7368 GB, free: 12.72 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.660198413766921]