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.001632/0.001632, 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.001626/0.001626, allocations: 214.9 kB / 22.25 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.532/1.532, 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.535/3.535, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.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.002056/0.002056, allocations: 76.62 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3835, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001907/0.3854, allocations: 0.6204 MB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001555/0.3856, allocations: 8 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.3856, allocations: 3.938 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.093e-05/0.3857, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.404e-05/0.3858, allocations: 4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.817e-05/0.3858, allocations: 3.984 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.665e-05/0.3859, allocations: 31.92 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3861, allocations: 27.97 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.3861, allocations: 7.938 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.3862, allocations: 19.92 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3862, allocations: 4 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.3862, allocations: 4 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.3862, allocations: 7.938 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.3863, allocations: 11.94 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3864, allocations: 51.73 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3864, allocations: 0 / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3864, allocations: 0 / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3864, allocations: 8 kB / 1.365 GB, free: 12.8 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.000386/0.3868, allocations: 270.6 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3868, allocations: 12.03 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.3868, allocations: 4.891 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.387, allocations: 130.5 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3871, allocations: 384 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3871, allocations: 8.375 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3872, allocations: 74.17 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3872, allocations: 192 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3873, allocations: 7.938 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3873, allocations: 4 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.3873, allocations: 47.97 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.3878, allocations: 422.8 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.3879, allocations: 169.1 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.388, allocations: 80.14 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.388, allocations: 83.28 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3881, allocations: 105.8 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3881, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.226e-05/0.3881, allocations: 25.7 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.3882, allocations: 134.6 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3883, allocations: 133.7 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3884, allocations: 29.7 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.3884, allocations: 96.12 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.3884, allocations: 3.984 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3885, allocations: 17.72 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3886, allocations: 318.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.3886, allocations: 11.98 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135e-05/0.3886, allocations: 4 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.3887, allocations: 16.84 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3887, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000114/0.3888, allocations: 57.7 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3888, allocations: 7.938 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3888, allocations: 3.984 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3888, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.3889, allocations: 4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3889, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.3889, allocations: 7.938 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3889, allocations: 0 / 1.367 GB, free: 10.38 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 (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.0001208/0.389, allocations: 193.1 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.3891, allocations: 105 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.3892, allocations: 116.4 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.679e-05/0.3892, allocations: 180.2 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-05/0.3893, allocations: 176.3 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-05/0.3894, allocations: 188.1 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.3896, allocations: 368.8 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.62e-05/0.3897, allocations: 104.9 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.3897, allocations: 106 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.563e-05/0.3898, allocations: 180.2 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.258e-05/0.3899, allocations: 180.2 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.409e-05/0.39, allocations: 180.3 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.513e-05/0.3901, allocations: 196.2 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3902, allocations: 307.7 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.3903, allocations: 112.9 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.3904, allocations: 180.5 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.3905, allocations: 108.9 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/0.3906, allocations: 184.3 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.3906, allocations: 105 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.3907, allocations: 103.5 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 0 / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002212/0.3909, allocations: 11.94 kB / 1.37 GB, free: 6.867 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.0001459/0.3911, allocations: 170.5 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.3e-05/0.3912, allocations: 11.98 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3912, allocations: 3.938 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.3912, allocations: 0 / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3917, allocations: 461.4 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.392, allocations: 188.3 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.846e-05/0.3921, allocations: 75.27 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.3921, allocations: 0 / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3921, allocations: 15.5 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3921, allocations: 0 / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of Templates: time 0.002695/0.3948, allocations: 301.7 kB / 1.371 GB, free: 5.621 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/jenkins/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.443197326734662]