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.001578/0.001578, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002027/0.002027, allocations: 207.9 kB / 22.24 MB, free: 5.262 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.793 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.76/2.76, allocations: 476 MB / 0.7699 GB, free: 4.758 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.002166/0.002166, allocations: 66.36 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3023, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002032/0.3043, allocations: 0.6121 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001694/0.3045, allocations: 8 kB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.3046, allocations: 0 / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3047, allocations: 7.938 kB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.3047, allocations: 0 / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.773e-05/0.3048, allocations: 0 / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3049, allocations: 35.84 kB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.305, allocations: 19.97 kB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.3051, allocations: 8 kB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.3051, allocations: 11.94 kB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3051, allocations: 7.938 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.3051, allocations: 4 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.3052, allocations: 15.98 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.3052, allocations: 15.88 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3053, allocations: 43.86 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3053, allocations: 4 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3054, allocations: 0 / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3054, allocations: 0 / 1.283 GB, free: 11.71 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.0003982/0.3058, allocations: 271.6 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.3058, allocations: 16.02 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.3058, allocations: 34.75 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.3059, allocations: 8.891 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.3061, allocations: 130.4 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3061, allocations: 12.31 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.3061, allocations: 4.375 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.3063, allocations: 70.23 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3063, allocations: 3.938 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3063, allocations: 4 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3064, allocations: 4 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.3064, allocations: 47.95 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.307, allocations: 450.2 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3072, allocations: 169.1 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.3072, allocations: 84.2 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3072, allocations: 79.28 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/0.3073, allocations: 114 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.3073, allocations: 3.938 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.78e-05/0.3074, allocations: 29.66 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.3075, allocations: 138.6 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3077, allocations: 168.3 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3077, allocations: 25.7 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.3077, allocations: 92.14 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3077, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.3078, allocations: 17.72 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3079, allocations: 318.8 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.3079, allocations: 15.94 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.308, allocations: 7.984 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.308, allocations: 12.86 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.308, allocations: 0 / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001287/0.3081, allocations: 53.62 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3081, allocations: 4 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3081, allocations: 4 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3082, allocations: 0 / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.3082, allocations: 8.031 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3082, allocations: 4 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.3083, allocations: 11.94 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.3083, allocations: 3.938 kB / 1.286 GB, free: 9.141 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.0001273/0.3084, allocations: 193.1 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.3085, allocations: 108.9 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.3085, allocations: 116.8 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.728e-05/0.3086, allocations: 184.1 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.091e-05/0.3087, allocations: 176.3 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.944e-05/0.3088, allocations: 186 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.3091, allocations: 392.3 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/0.3091, allocations: 101 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3092, allocations: 108.9 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-05/0.3093, allocations: 180.2 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/0.3094, allocations: 180.2 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-05/0.3095, allocations: 192.2 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001277/0.3096, allocations: 176.3 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.3098, allocations: 311.7 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3099, allocations: 120.9 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.3101, allocations: 180.2 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3102, allocations: 108.9 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.3104, allocations: 184.5 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.3104, allocations: 105 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001248/0.3105, allocations: 133.9 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3105, allocations: 0 / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002364/0.3108, allocations: 4 kB / 1.289 GB, free: 5.578 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.0005416/0.3113, allocations: 0.8127 MB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.3114, allocations: 7.984 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.3114, allocations: 4 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.3114, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.3119, allocations: 467.6 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3135, allocations: 1.485 MB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.185e-05/0.3135, allocations: 73.58 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.3136, allocations: 4 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.3136, allocations: 19.44 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3136, allocations: 0 / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.3511, allocations: 2.102 MB / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.76, allocations: 10.95 kB / 1.294 GB, free: 0.6211 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.259936068207026]