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.001642/0.001642, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.002149/0.002149, allocations: 222.7 kB / 22.26 MB, free: 5.191 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.039 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.261/3.261, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_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.002074/0.002074, allocations: 70.59 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3681, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002025/0.3701, allocations: 0.61 MB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.3703, allocations: 4 kB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.3703, allocations: 7.938 kB / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.787e-05/0.3704, allocations: 0 / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.3704, allocations: 4 kB / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.538e-05/0.3705, allocations: 0 / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3706, allocations: 31.91 kB / 1.354 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3707, allocations: 28.19 kB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.3708, allocations: 11.94 kB / 1.354 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.103e-05/0.3708, allocations: 11.94 kB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3708, allocations: 4 kB / 1.354 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.3708, allocations: 4 kB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.3709, allocations: 15.92 kB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.3709, allocations: 23.88 kB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.299e-05/0.371, allocations: 39.86 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.371, allocations: 0 / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.422e-06/0.371, allocations: 3.938 kB / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.371, allocations: 0 / 1.354 GB, free: 7.66 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.0003421/0.3713, allocations: 278.5 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3714, allocations: 12.02 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3714, allocations: 42.69 kB / 1.354 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.3715, allocations: 8.891 kB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3716, allocations: 122.5 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.3717, allocations: 384 / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3717, allocations: 8.375 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3719, allocations: 74.23 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3719, allocations: 3.938 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3719, allocations: 0 / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3719, allocations: 0 / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.372, allocations: 55.89 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.3725, allocations: 462.3 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3726, allocations: 169.1 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.3727, allocations: 84.14 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3727, allocations: 75.39 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.3728, allocations: 109.8 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3728, allocations: 4 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.265e-05/0.3728, allocations: 33.66 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.3729, allocations: 134.6 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3731, allocations: 173.8 kB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3731, allocations: 25.7 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.3732, allocations: 92.14 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.3732, allocations: 0 / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3732, allocations: 13.67 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3734, allocations: 326.8 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.3734, allocations: 4 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.3734, allocations: 11.98 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.3734, allocations: 8.859 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3734, allocations: 4 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001177/0.3736, allocations: 53.61 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3736, allocations: 6.031 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3736, allocations: 96 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3736, allocations: 8 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.3737, allocations: 3.938 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3737, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.3737, allocations: 11.89 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3737, allocations: 4 kB / 1.356 GB, free: 5.086 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.000121/0.3738, allocations: 193.8 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.3739, allocations: 108.9 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.135e-05/0.374, allocations: 128.7 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-05/0.3741, allocations: 180.2 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-05/0.3741, allocations: 176.3 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.275e-05/0.3742, allocations: 184.2 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.3745, allocations: 392.3 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-05/0.3746, allocations: 108.9 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.3746, allocations: 101 kB / 1.357 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.902e-05/0.3747, allocations: 180.3 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/0.3748, allocations: 180.2 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-05/0.3749, allocations: 188.2 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.993e-05/0.3749, allocations: 184.8 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3751, allocations: 307.8 kB / 1.358 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.3752, allocations: 116.9 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.804e-05/0.3753, allocations: 180.5 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3754, allocations: 112.9 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.3755, allocations: 188.3 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.3755, allocations: 104.9 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00012/0.3756, allocations: 131.2 kB / 1.359 GB, free: 1.512 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3756, allocations: 0 / 1.359 GB, free: 1.512 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002224/0.3759, allocations: 4 kB / 1.359 GB, free: 1.508 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.0004553/0.3763, allocations: 0.8087 MB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.576e-05/0.3764, allocations: 12 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3764, allocations: 0 / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.3764, allocations: 3.938 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3768, allocations: 475.5 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3782, allocations: 1.477 MB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3785, allocations: 0.6864 MB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.3785, allocations: 11.98 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.3785, allocations: 15.44 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3785, allocations: 0 / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.4059, allocations: 1.663 MB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.06, allocations: 18.98 kB / 1.364 GB, free: 12.36 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv","/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: 17.95269319399995]