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.001334/0.001334, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00149/0.00149, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.789 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.773/2.773, allocations: 476 MB / 0.7699 GB, free: 4.715 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.002464/0.002464, allocations: 67.77 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2984, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002017/0.3005, allocations: 0.6082 MB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001587/0.3006, allocations: 15.92 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.3007, allocations: 4 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.31e-05/0.3008, allocations: 0 / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.3008, allocations: 0 / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.864e-05/0.3009, allocations: 4 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.3009, allocations: 31.84 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3011, allocations: 15.98 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.3011, allocations: 15.94 kB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.3011, allocations: 11.94 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3012, allocations: 4 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.3012, allocations: 0 / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.3012, allocations: 15.97 kB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.3012, allocations: 23.81 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3014, allocations: 47.81 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3014, allocations: 0 / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3014, allocations: 0 / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.3014, allocations: 0 / 1.283 GB, free: 11.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.0003943/0.3018, allocations: 275.6 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3018, allocations: 12.02 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.3018, allocations: 38.75 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.3019, allocations: 8.891 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.3021, allocations: 118.5 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3021, allocations: 8.375 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3021, allocations: 4.375 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3023, allocations: 74.23 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3023, allocations: 3.938 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.3023, allocations: 4 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3023, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3024, allocations: 55.83 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.3031, allocations: 454.3 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3032, allocations: 169.1 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.3033, allocations: 80.27 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.3033, allocations: 79.28 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.252e-05/0.3034, allocations: 113.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.3034, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001146/0.3035, allocations: 37.59 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.3036, allocations: 130.6 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3039, allocations: 175.8 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3039, allocations: 25.7 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.3039, allocations: 88.14 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.3039, allocations: 4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.304, allocations: 13.72 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3042, allocations: 318.8 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.3042, allocations: 12 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.3042, allocations: 7.984 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.3042, allocations: 12.86 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3042, allocations: 0 / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001296/0.3044, allocations: 57.56 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3044, allocations: 4 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3044, allocations: 4 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3044, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.3045, allocations: 3.938 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3045, allocations: 4.094 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.3045, allocations: 11.88 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3045, allocations: 8 kB / 1.286 GB, free: 9.059 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.0001328/0.3046, allocations: 189.1 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.3047, allocations: 108.9 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.3048, allocations: 120.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.109e-05/0.3049, allocations: 184.2 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.613e-05/0.305, allocations: 184.3 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.988e-05/0.3051, allocations: 182 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3054, allocations: 392.3 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-05/0.3054, allocations: 108.9 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.3055, allocations: 101 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.455e-05/0.3056, allocations: 180.2 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.3057, allocations: 180.3 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.429e-05/0.3058, allocations: 188.2 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.266e-05/0.3059, allocations: 184.2 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3061, allocations: 307.7 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.3062, allocations: 116.9 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3063, allocations: 180.3 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.3064, allocations: 108.9 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.3065, allocations: 180.6 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.3065, allocations: 112.9 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001228/0.3066, allocations: 127.2 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3066, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002193/0.3069, allocations: 4 kB / 1.289 GB, free: 5.496 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.0005105/0.3074, allocations: 0.8111 MB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.3075, allocations: 15.92 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3075, allocations: 0 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.3075, allocations: 4 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.3079, allocations: 461.4 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3093, allocations: 1.493 MB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.096e-05/0.3094, allocations: 71.33 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.3094, allocations: 4 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.3095, allocations: 15.44 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3095, allocations: 0 / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3387, allocations: 2.107 MB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.83, allocations: 6.062 kB / 1.294 GB, free: 0.5352 MB / 0.9825 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: 18.353297907859087]