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.001981/0.001981, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002383/0.002383, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.054/3.054, allocations: 0.5003 GB / 0.8062 GB, free: 28.21 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="cs",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.001902/0.001902, allocations: 74.77 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2987, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001571/0.3003, allocations: 0.6087 MB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 7.426e-05/0.3004, allocations: 15.98 kB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.3004, allocations: 0 / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.3004, allocations: 3.938 kB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.415e-05/0.3005, allocations: 0 / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.375e-05/0.3005, allocations: 8 kB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.3005, allocations: 31.78 kB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.3006, allocations: 28.2 kB / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.3006, allocations: 8 kB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.711e-05/0.3007, allocations: 15.92 kB / 1.346 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3007, allocations: 7.938 kB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.3007, allocations: 8 kB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.3007, allocations: 8 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.3007, allocations: 19.86 kB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.712e-05/0.3008, allocations: 39.86 kB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.3008, allocations: 0 / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.02e-07/0.3008, allocations: 0 / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.3008, allocations: 0 / 1.346 GB, free: 15.11 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.0002501/0.301, allocations: 284.9 kB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.3011, allocations: 12.03 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.272e-05/0.3011, allocations: 4.188 kB / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.3011, allocations: 34.73 kB / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.587e-05/0.3011, allocations: 16.83 kB / 1.346 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3013, allocations: 118.5 kB / 1.346 GB, free: 14.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.3013, allocations: 4.375 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.3013, allocations: 8.375 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3014, allocations: 81.91 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.3014, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-06/0.3014, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-06/0.3014, allocations: 4 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.3015, allocations: 51.91 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3019, allocations: 446.3 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.302, allocations: 181.1 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.302, allocations: 84.23 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.302, allocations: 83.2 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.3021, allocations: 109.8 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3021, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 5.376e-05/0.3021, allocations: 29.66 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.3022, allocations: 138.6 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3024, allocations: 165.8 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.3024, allocations: 25.7 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.3024, allocations: 104.1 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-06/0.3024, allocations: 0 / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.3025, allocations: 17.72 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3026, allocations: 318.8 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.3026, allocations: 7.984 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.3026, allocations: 11.98 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.3026, allocations: 12.8 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3026, allocations: 0 / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.403e-05/0.3027, allocations: 53.62 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3027, allocations: 9.391 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3027, allocations: 0 / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3028, allocations: 8.031 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.789e-05/0.3028, allocations: 4 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.3028, allocations: 0 / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.3028, allocations: 11.89 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.3028, allocations: 0 / 1.348 GB, free: 12.52 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.0001057/0.3029, allocations: 197.1 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.303, allocations: 108.9 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.3031, allocations: 116.5 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.262e-05/0.3031, allocations: 188.2 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.603e-05/0.3032, allocations: 176.3 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.635e-05/0.3033, allocations: 188.2 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3035, allocations: 380.3 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.546e-05/0.3036, allocations: 112.9 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.3036, allocations: 105 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.596e-05/0.3037, allocations: 176.3 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.3037, allocations: 180.2 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.08e-05/0.3038, allocations: 188.2 kB / 1.35 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.166e-05/0.3039, allocations: 184.2 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.304, allocations: 315.9 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.3041, allocations: 113 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.3042, allocations: 180.2 kB / 1.351 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.3043, allocations: 120.9 kB / 1.351 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.3043, allocations: 176.3 kB / 1.351 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.3044, allocations: 108.9 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001026/0.3045, allocations: 132.8 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3045, allocations: 0 / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002149/0.3047, allocations: 4 kB / 1.352 GB, free: 8.934 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.0004021/0.3051, allocations: 0.8048 MB / 1.352 GB, free: 8.102 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.242e-05/0.3051, allocations: 8 kB / 1.352 GB, free: 8.094 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.3051, allocations: 0 / 1.352 GB, free: 8.094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.3051, allocations: 8 kB / 1.352 GB, free: 8.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3055, allocations: 471.5 kB / 1.353 GB, free: 7.621 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.3066, allocations: 1.48 MB / 1.354 GB, free: 6.062 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.538e-05/0.3067, allocations: 67.2 kB / 1.354 GB, free: 5.977 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.3067, allocations: 11.98 kB / 1.354 GB, free: 5.965 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.3067, allocations: 11.44 kB / 1.354 GB, free: 5.953 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3067, allocations: 0 / 1.354 GB, free: 5.953 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.3267, allocations: 1.735 MB / 1.356 GB, free: 4.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.81, allocations: 13 kB / 1.356 GB, free: 4.367 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.208777546067722]