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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 202 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 497.2 MB / 0.7845 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 71.27 kB / 1.139 GB, free: 33.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2891, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001685/0.2907, allocations: 0.6201 MB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001245/0.2909, allocations: 4 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.2909, allocations: 0 / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.194e-05/0.291, allocations: 3.938 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.615e-05/0.291, allocations: 4 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.074e-05/0.2911, allocations: 3.984 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.2912, allocations: 31.86 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2913, allocations: 19.92 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.118e-05/0.2913, allocations: 11.98 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.101e-05/0.2913, allocations: 19.92 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2913, allocations: 4 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.2914, allocations: 7.938 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.2914, allocations: 8 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.2914, allocations: 19.88 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.885e-05/0.2915, allocations: 43.8 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2915, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2915, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2915, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 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.0003552/0.2919, allocations: 351.7 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.2919, allocations: 12.03 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.2919, allocations: 8.891 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2921, allocations: 184.3 kB / 1.311 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2922, allocations: 4.359 kB / 1.311 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2922, allocations: 8.375 kB / 1.311 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2923, allocations: 78.17 kB / 1.311 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2923, allocations: 192 / 1.311 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2923, allocations: 11.86 kB / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2923, allocations: 0 / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.2924, allocations: 47.97 kB / 1.311 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.2929, allocations: 491.2 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.293, allocations: 177 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.293, allocations: 80.14 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.2931, allocations: 75.28 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.2931, allocations: 113.8 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2931, allocations: 0 / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.112e-05/0.2932, allocations: 33.66 kB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.2932, allocations: 126.7 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2934, allocations: 175.5 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2934, allocations: 25.7 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.2935, allocations: 96.06 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.2935, allocations: 8 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.2935, allocations: 9.719 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2937, allocations: 318.8 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.2937, allocations: 7.984 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.2937, allocations: 8 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.2937, allocations: 12.84 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2937, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.2938, allocations: 57.7 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2938, allocations: 4 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.2938, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2939, allocations: 3.984 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.2939, allocations: 7.938 kB / 1.312 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2939, allocations: 3.938 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.2939, allocations: 7.938 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.294, allocations: 4.109 kB / 1.312 GB, free: 12.47 MB / 1.014 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.0001127/0.2941, allocations: 205.1 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.2941, allocations: 108.9 kB / 1.313 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.2942, allocations: 112.9 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.186e-05/0.2943, allocations: 184.2 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.388e-05/0.2943, allocations: 180.2 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.503e-05/0.2944, allocations: 184.2 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.2947, allocations: 425.2 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-05/0.2947, allocations: 101 kB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.2948, allocations: 104.9 kB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-05/0.2948, allocations: 180.2 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/0.2949, allocations: 184.2 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.158e-05/0.295, allocations: 180.3 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.311e-05/0.2951, allocations: 188.1 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.2952, allocations: 307.8 kB / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.2953, allocations: 194 kB / 1.315 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.2954, allocations: 180.5 kB / 1.315 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.2955, allocations: 112.9 kB / 1.315 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.2956, allocations: 188.2 kB / 1.316 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.2956, allocations: 105 kB / 1.316 GB, free: 8.902 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001034/0.2957, allocations: 133.1 kB / 1.316 GB, free: 8.773 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.2957, allocations: 0 / 1.316 GB, free: 8.773 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002176/0.2959, allocations: 4 kB / 1.316 GB, free: 8.77 MB / 1.014 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.0001328/0.296, allocations: 178.5 kB / 1.316 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.2961, allocations: 15.98 kB / 1.316 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2961, allocations: 0 / 1.316 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.2961, allocations: 0 / 1.316 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2966, allocations: 459.7 kB / 1.316 GB, free: 8.113 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.2968, allocations: 212.1 kB / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2971, allocations: 0.6885 MB / 1.317 GB, free: 7.164 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.067e-05/0.2971, allocations: 4 kB / 1.317 GB, free: 7.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.2972, allocations: 11.44 kB / 1.317 GB, free: 7.148 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.2972, allocations: 3.938 kB / 1.317 GB, free: 7.145 MB / 1.014 GB Notification: Performance of Templates: time 0.002417/0.2996, allocations: 473.1 kB / 1.318 GB, free: 6.691 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 800] 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_2/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: 7.738916326779872]