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.001282/0.001282, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001706/0.001706, allocations: 207.9 kB / 22.99 MB, free: 4.957 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001918/0.001918, allocations: 74.03 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3796, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002147/0.3817, allocations: 0.6172 MB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.3819, allocations: 11.92 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.382, allocations: 0 / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.3821, allocations: 4 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.3821, allocations: 7.922 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.293e-05/0.3822, allocations: 4 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3823, allocations: 23.92 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3824, allocations: 23.92 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.3825, allocations: 11.94 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.3825, allocations: 15.92 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3825, allocations: 4 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.3826, allocations: 8 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.3826, allocations: 8 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.3826, allocations: 19.86 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3828, allocations: 43.75 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3828, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3828, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.3828, allocations: 4 kB / 1.328 GB, free: 216 kB / 1.014 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.0004778/0.3833, allocations: 276.3 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3833, allocations: 12.03 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.3833, allocations: 0.9375 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.3836, allocations: 130.5 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3836, allocations: 384 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3836, allocations: 8.375 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3838, allocations: 70.23 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3839, allocations: 8.125 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3839, allocations: 3.938 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3839, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.384, allocations: 51.95 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3845, allocations: 422.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3846, allocations: 173.1 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.3847, allocations: 80.14 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.3847, allocations: 83.28 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.243e-05/0.3848, allocations: 105.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3848, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.411e-05/0.3849, allocations: 33.59 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.385, allocations: 130.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3851, allocations: 125.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3852, allocations: 25.7 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.3853, allocations: 100 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.3853, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3854, allocations: 13.72 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3855, allocations: 322.9 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.3855, allocations: 15.92 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.3856, allocations: 7.984 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.3856, allocations: 12.86 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3856, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000134/0.3857, allocations: 57.62 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3858, allocations: 10.02 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3858, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3858, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.3858, allocations: 4.094 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3858, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.3859, allocations: 7.938 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3859, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 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.0001497/0.386, allocations: 197.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-05/0.3861, allocations: 104.9 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.3862, allocations: 108.5 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/0.3863, allocations: 180.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.579e-05/0.3864, allocations: 180.2 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-05/0.3865, allocations: 184.2 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3867, allocations: 368.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/0.3868, allocations: 105 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.3868, allocations: 109 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.6e-05/0.3869, allocations: 180.2 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.387, allocations: 176.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.743e-05/0.3871, allocations: 188.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.969e-05/0.3872, allocations: 180.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3874, allocations: 311.6 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.3874, allocations: 109 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.3876, allocations: 180.5 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.3876, allocations: 105 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.3877, allocations: 196.2 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.3878, allocations: 108.9 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.3879, allocations: 95.27 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000247/0.3881, allocations: 11.94 kB / 1.333 GB, free: 10.28 MB / 1.029 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.0001619/0.3883, allocations: 170.5 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.3884, allocations: 7.984 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3884, allocations: 3.938 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3884, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.389, allocations: 467.7 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.3894, allocations: 196.3 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.501e-05/0.3894, allocations: 71.33 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.3895, allocations: 4 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.3895, allocations: 7.438 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3895, allocations: 0 / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of Templates: time 0.002768/0.3923, allocations: 337.3 kB / 1.334 GB, free: 8.992 MB / 1.029 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.315958487990429]