Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001458/0.001458, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001598/0.001598, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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 2.92/2.92, allocations: 0.505 GB / 0.8108 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 177] 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.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_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_latest_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.00191/0.00191, allocations: 69.77 kB / 1.178 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 180.2 MB / 1.354 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001664/0.2864, allocations: 0.6157 MB / 1.355 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001137/0.2865, allocations: 15.94 kB / 1.355 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.2865, allocations: 3.938 kB / 1.355 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.849e-05/0.2866, allocations: 0 / 1.355 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.2867, allocations: 3.938 kB / 1.355 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.851e-05/0.2867, allocations: 4 kB / 1.355 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.2868, allocations: 19.98 kB / 1.355 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2869, allocations: 27.92 kB / 1.355 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.095e-05/0.2869, allocations: 19.92 kB / 1.355 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.287, allocations: 15.92 kB / 1.355 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.287, allocations: 4 kB / 1.355 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.287, allocations: 0 / 1.355 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.287, allocations: 15.98 kB / 1.355 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.287, allocations: 15.88 kB / 1.355 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.007e-05/0.2871, allocations: 55.69 kB / 1.355 GB, free: 7.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2871, allocations: 0 / 1.355 GB, free: 7.309 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2871, allocations: 0 / 1.355 GB, free: 7.309 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2871, allocations: 0 / 1.355 GB, free: 7.309 MB / 1.045 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.0003132/0.2875, allocations: 274.6 kB / 1.355 GB, free: 7.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.2875, allocations: 8.031 kB / 1.355 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.2875, allocations: 8.891 kB / 1.355 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.2877, allocations: 122.5 kB / 1.355 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2877, allocations: 12.38 kB / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.2877, allocations: 4.375 kB / 1.355 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2879, allocations: 82.16 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2879, allocations: 192 / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2879, allocations: 7.938 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2879, allocations: 0 / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.288, allocations: 43.97 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.2884, allocations: 466.2 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.785e-05/0.2885, allocations: 165.1 kB / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.2886, allocations: 80.14 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.2886, allocations: 83.27 kB / 1.356 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.2886, allocations: 105.8 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2886, allocations: 8 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.519e-05/0.2887, allocations: 33.59 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.2888, allocations: 126.7 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.289, allocations: 175.6 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.289, allocations: 25.7 kB / 1.357 GB, free: 5.352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.289, allocations: 96.23 kB / 1.357 GB, free: 5.254 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.289, allocations: 3.938 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.2891, allocations: 17.67 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2892, allocations: 318.8 kB / 1.357 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.2892, allocations: 7.984 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.2892, allocations: 4 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.2892, allocations: 20.84 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2893, allocations: 0 / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.2894, allocations: 49.62 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.2894, allocations: 4 kB / 1.357 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2894, allocations: 7.984 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2894, allocations: 4.094 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.2894, allocations: 0 / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2894, allocations: 3.938 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.2895, allocations: 11.89 kB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2895, allocations: 4 kB / 1.357 GB, free: 4.781 MB / 1.045 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.0001112/0.2896, allocations: 197 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.2896, allocations: 112.9 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.2897, allocations: 112.8 kB / 1.358 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/0.2898, allocations: 180.2 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.194e-05/0.2899, allocations: 188.1 kB / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.466e-05/0.2899, allocations: 180.3 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.2902, allocations: 388.2 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/0.2902, allocations: 105 kB / 1.359 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.2903, allocations: 105 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.27e-05/0.2903, allocations: 192.2 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.2904, allocations: 176.3 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.375e-05/0.2905, allocations: 180.2 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.071e-05/0.2906, allocations: 184.8 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.2907, allocations: 315.8 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.2908, allocations: 108.9 kB / 1.36 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/0.2909, allocations: 188.5 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.291, allocations: 105 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.291, allocations: 192.2 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.2911, allocations: 104.9 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.944e-05/0.2912, allocations: 133.1 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.2912, allocations: 0 / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002309/0.2914, allocations: 7.938 kB / 1.36 GB, free: 1.199 MB / 1.045 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.0001215/0.2915, allocations: 170.5 kB / 1.361 GB, free: 1.023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.118e-05/0.2916, allocations: 11.98 kB / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.2916, allocations: 4.062 kB / 1.361 GB, free: 1.008 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.2916, allocations: 3.938 kB / 1.361 GB, free: 1.004 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.292, allocations: 459.7 kB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.2923, allocations: 221.9 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2926, allocations: 0.6922 MB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.2926, allocations: 11.44 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.2926, allocations: 0 / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of Templates: time 0.002047/0.2946, allocations: 0.7327 MB / 1.363 GB, free: 14.84 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.928771589999087]