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.001462/0.001462, allocations: 104.4 kB / 16.45 MB, free: 6.5 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.001442/0.001442, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.769/2.769, allocations: 476.7 MB / 0.7672 GB, free: 5.211 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.002109/0.002109, allocations: 71.89 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.84, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00205/0.8421, allocations: 0.6197 MB / 1.279 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/0.8422, allocations: 11.94 kB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.8422, allocations: 0 / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.8424, allocations: 3.938 kB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.8424, allocations: 0 / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.942e-05/0.8425, allocations: 11.98 kB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.677e-05/0.8426, allocations: 23.91 kB / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.8427, allocations: 31.78 kB / 1.279 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.8427, allocations: 15.94 kB / 1.279 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.8428, allocations: 15.92 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.8428, allocations: 4 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.8428, allocations: 4 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.8428, allocations: 8 kB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.8429, allocations: 15.88 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.843, allocations: 47.8 kB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.843, allocations: 0 / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.843, allocations: 0 / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.843, allocations: 4 kB / 1.279 GB, free: 12.62 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.0003995/0.8434, allocations: 349.4 kB / 1.279 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8434, allocations: 8.031 kB / 1.279 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.8435, allocations: 38.75 kB / 1.279 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.8435, allocations: 12.83 kB / 1.279 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.8438, allocations: 184.2 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.8438, allocations: 4.375 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.8438, allocations: 4.375 kB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.844, allocations: 74.22 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.844, allocations: 3.938 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.844, allocations: 12 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.844, allocations: 0 / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8441, allocations: 51.84 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.8447, allocations: 483.2 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.8448, allocations: 173.1 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.8448, allocations: 84.14 kB / 1.28 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.8449, allocations: 75.28 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.8449, allocations: 105.8 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8449, allocations: 0 / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.279e-05/0.845, allocations: 37.66 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.8451, allocations: 134.6 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.8453, allocations: 165.9 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.8453, allocations: 33.64 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.8454, allocations: 92.12 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.8454, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.8455, allocations: 17.72 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8456, allocations: 318.8 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.8456, allocations: 8 kB / 1.281 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.8456, allocations: 7.984 kB / 1.281 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.8457, allocations: 20.95 kB / 1.281 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8457, allocations: 0 / 1.281 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001374/0.8458, allocations: 57.62 kB / 1.281 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.8458, allocations: 7.938 kB / 1.281 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8458, allocations: 0 / 1.281 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8459, allocations: 3.984 kB / 1.281 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.8459, allocations: 7.938 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8459, allocations: 0 / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.846, allocations: 8 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.846, allocations: 0 / 1.282 GB, free: 9.855 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.0001329/0.8461, allocations: 201.7 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.8462, allocations: 108.9 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.8463, allocations: 116.8 kB / 1.282 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.701e-05/0.8463, allocations: 180.2 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-05/0.8464, allocations: 176.3 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-05/0.8465, allocations: 188.2 kB / 1.282 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.8468, allocations: 414.9 kB / 1.283 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-05/0.8468, allocations: 112.9 kB / 1.283 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.8469, allocations: 101 kB / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.941e-05/0.847, allocations: 180.3 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.8471, allocations: 180.2 kB / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.829e-05/0.8471, allocations: 188.2 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-05/0.8472, allocations: 180.2 kB / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.8474, allocations: 307.8 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.8475, allocations: 190 kB / 1.284 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.8476, allocations: 192.2 kB / 1.284 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8477, allocations: 112.9 kB / 1.285 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.8478, allocations: 180.3 kB / 1.285 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.8479, allocations: 101.3 kB / 1.285 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001238/0.848, allocations: 137.5 kB / 1.285 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.848, allocations: 0 / 1.285 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002467/0.8482, allocations: 8 kB / 1.285 GB, free: 6.152 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.0005221/0.8488, allocations: 0.8088 MB / 1.286 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.8488, allocations: 12.03 kB / 1.286 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8488, allocations: 0 / 1.286 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/0.8488, allocations: 3.938 kB / 1.286 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.8493, allocations: 475.7 kB / 1.286 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.8508, allocations: 1.483 MB / 1.288 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.8511, allocations: 0.6904 MB / 1.288 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.8512, allocations: 4 kB / 1.288 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.8512, allocations: 26.83 kB / 1.288 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.8512, allocations: 0 / 1.288 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.8805, allocations: 1.6 MB / 1.29 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/9.186, allocations: 9.625 kB / 1.29 GB, free: 1.066 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.21179370698519]