Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001316/0.001316, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001493/0.001493, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [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.002182/0.002182, allocations: 65.84 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3681, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002002/0.3701, allocations: 0.6217 MB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.3702, allocations: 7.984 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.3703, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.916e-05/0.3704, allocations: 3.938 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.236e-05/0.3704, allocations: 8 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.003e-05/0.3705, allocations: 3.984 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3706, allocations: 23.98 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3707, allocations: 27.72 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.3707, allocations: 7.938 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.3708, allocations: 15.92 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3708, allocations: 4 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3708, allocations: 4 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.3709, allocations: 15.92 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.3709, allocations: 15.94 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.371, allocations: 47.81 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.371, allocations: 0 / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.371, allocations: 0 / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.371, allocations: 0 / 1.284 GB, free: 10.94 MB / 0.9825 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.0004105/0.3714, allocations: 278.6 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3715, allocations: 8.031 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.3715, allocations: 34.75 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.3716, allocations: 12.89 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3718, allocations: 126.4 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3718, allocations: 384 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3718, allocations: 16.31 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.372, allocations: 78.22 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.372, allocations: 3.938 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.372, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.372, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.3721, allocations: 51.95 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.3727, allocations: 462.2 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3729, allocations: 169.1 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.3729, allocations: 84.2 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.3729, allocations: 75.28 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.009e-05/0.373, allocations: 109.8 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.373, allocations: 4.109 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.279e-05/0.3731, allocations: 37.59 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.3732, allocations: 134.6 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.3734, allocations: 172.1 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3734, allocations: 25.7 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.3735, allocations: 92.14 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.3735, allocations: 0 / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.3735, allocations: 13.72 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3737, allocations: 318.8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.3737, allocations: 15.98 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.3737, allocations: 7.938 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.3737, allocations: 20.84 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3737, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.3739, allocations: 45.64 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3739, allocations: 4 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3739, allocations: 0 / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3739, allocations: 4 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.374, allocations: 8.031 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.374, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.374, allocations: 15.92 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.374, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 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.0001198/0.3741, allocations: 189.1 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.3742, allocations: 112.9 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.3743, allocations: 112.8 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-05/0.3744, allocations: 188.1 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.089e-05/0.3745, allocations: 176.3 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/0.3746, allocations: 190 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.3749, allocations: 388.3 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/0.3749, allocations: 101 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.375, allocations: 108.9 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.052e-05/0.375, allocations: 180.3 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.3751, allocations: 188.1 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-05/0.3752, allocations: 188.2 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.886e-05/0.3753, allocations: 176.3 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.3755, allocations: 319.7 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.3755, allocations: 116.9 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3756, allocations: 176.3 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3758, allocations: 112.9 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.3758, allocations: 180.2 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.3759, allocations: 109.3 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001214/0.376, allocations: 129.7 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.376, allocations: 0 / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002517/0.3763, allocations: 4 kB / 1.29 GB, free: 4.797 MB / 0.9825 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.0005096/0.3768, allocations: 0.8126 MB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.3769, allocations: 16 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3769, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3769, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3774, allocations: 469.8 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3789, allocations: 1.485 MB / 1.292 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3793, allocations: 0.6885 MB / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.3793, allocations: 4 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.3793, allocations: 15.44 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of SimCode: time 8.62e-07/0.3793, allocations: 0 / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.4091, allocations: 1.661 MB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.16, allocations: 13.05 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.98274539600061]