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.00164/0.00164, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001565/0.001565, allocations: 190.9 kB / 22.23 MB, free: 5.098 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.306/1.306, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.886/2.886, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001858/0.001858, allocations: 63.11 kB / 1.145 GB, free: 30.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3085, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001867/0.3103, allocations: 0.6128 MB / 1.317 GB, free: 9.148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.3105, allocations: 11.94 kB / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.3105, allocations: 0 / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.3106, allocations: 3.984 kB / 1.317 GB, free: 9.133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.3107, allocations: 4 kB / 1.317 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.147e-05/0.3108, allocations: 11.94 kB / 1.317 GB, free: 9.117 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3109, allocations: 23.92 kB / 1.317 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.311, allocations: 27.91 kB / 1.317 GB, free: 9.066 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.311, allocations: 11.94 kB / 1.317 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.3111, allocations: 15.92 kB / 1.317 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3111, allocations: 4 kB / 1.317 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.3111, allocations: 4 kB / 1.317 GB, free: 9.031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.3111, allocations: 8 kB / 1.317 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.3112, allocations: 15.88 kB / 1.317 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3113, allocations: 51.73 kB / 1.317 GB, free: 8.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3113, allocations: 4 kB / 1.317 GB, free: 8.953 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3113, allocations: 0 / 1.317 GB, free: 8.953 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3113, allocations: 0 / 1.317 GB, free: 8.953 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.0003668/0.3117, allocations: 274.6 kB / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.3117, allocations: 8.031 kB / 1.317 GB, free: 8.645 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.3117, allocations: 8.891 kB / 1.317 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3119, allocations: 118.5 kB / 1.317 GB, free: 8.496 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3119, allocations: 8.312 kB / 1.317 GB, free: 8.488 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3119, allocations: 8.375 kB / 1.317 GB, free: 8.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3121, allocations: 74.23 kB / 1.317 GB, free: 8.402 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3121, allocations: 4.172 kB / 1.317 GB, free: 8.398 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3121, allocations: 3.938 kB / 1.317 GB, free: 8.395 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3121, allocations: 4 kB / 1.317 GB, free: 8.391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.3122, allocations: 55.89 kB / 1.317 GB, free: 8.336 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.3127, allocations: 462.2 kB / 1.318 GB, free: 7.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.3128, allocations: 173.1 kB / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.3128, allocations: 80.14 kB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3128, allocations: 79.28 kB / 1.318 GB, free: 7.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.3129, allocations: 105.8 kB / 1.318 GB, free: 7.387 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3129, allocations: 0 / 1.318 GB, free: 7.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.212e-05/0.313, allocations: 33.64 kB / 1.318 GB, free: 7.348 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.313, allocations: 130.7 kB / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3132, allocations: 179.7 kB / 1.319 GB, free: 7.023 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3132, allocations: 25.7 kB / 1.319 GB, free: 6.992 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.3133, allocations: 92.14 kB / 1.319 GB, free: 6.898 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.3133, allocations: 0 / 1.319 GB, free: 6.898 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3133, allocations: 13.72 kB / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3135, allocations: 318.9 kB / 1.319 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.3135, allocations: 11.94 kB / 1.319 GB, free: 6.547 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.3135, allocations: 15.98 kB / 1.319 GB, free: 6.531 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.3135, allocations: 16.84 kB / 1.319 GB, free: 6.512 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3135, allocations: 0 / 1.319 GB, free: 6.512 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001249/0.3137, allocations: 53.58 kB / 1.319 GB, free: 6.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3137, allocations: 8 kB / 1.319 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3137, allocations: 0 / 1.319 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3137, allocations: 0 / 1.319 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.3138, allocations: 4 kB / 1.319 GB, free: 6.441 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3138, allocations: 3.938 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.3138, allocations: 12.03 kB / 1.319 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3138, allocations: 0 / 1.319 GB, free: 6.426 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.0001611/0.314, allocations: 198 kB / 1.319 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.314, allocations: 108.9 kB / 1.319 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.3141, allocations: 116.7 kB / 1.319 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-05/0.3142, allocations: 180.3 kB / 1.32 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-05/0.3143, allocations: 188.1 kB / 1.32 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-05/0.3144, allocations: 176.3 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.3147, allocations: 392.3 kB / 1.32 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.3147, allocations: 104.9 kB / 1.32 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.3148, allocations: 105 kB / 1.321 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.3148, allocations: 184.2 kB / 1.321 GB, free: 4.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.3149, allocations: 180.3 kB / 1.321 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.349e-05/0.315, allocations: 180.3 kB / 1.321 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.914e-05/0.3151, allocations: 192.1 kB / 1.321 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.3153, allocations: 311.7 kB / 1.322 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.3153, allocations: 109 kB / 1.322 GB, free: 3.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.3154, allocations: 176.5 kB / 1.322 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3155, allocations: 108.9 kB / 1.322 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.3156, allocations: 188.2 kB / 1.322 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.3156, allocations: 108.9 kB / 1.322 GB, free: 2.988 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001092/0.3158, allocations: 129.4 kB / 1.322 GB, free: 2.863 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3158, allocations: 8 kB / 1.322 GB, free: 2.855 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002161/0.316, allocations: 4 kB / 1.322 GB, free: 2.852 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.0001263/0.3161, allocations: 171.1 kB / 1.323 GB, free: 2.676 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.872e-05/0.3162, allocations: 11.98 kB / 1.323 GB, free: 2.664 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3162, allocations: 3.938 kB / 1.323 GB, free: 2.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3162, allocations: 0 / 1.323 GB, free: 2.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3166, allocations: 467.7 kB / 1.323 GB, free: 2.199 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.3169, allocations: 216 kB / 1.323 GB, free: 1.961 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3172, allocations: 0.6846 MB / 1.324 GB, free: 1.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.3172, allocations: 4 kB / 1.324 GB, free: 1.246 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.3172, allocations: 11.44 kB / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of SimCode: time 2.61e-07/0.3172, allocations: 0 / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of Templates: time 0.002524/0.3198, allocations: 490.7 kB / 1.324 GB, free: 0.7617 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 -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/jenkins/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: 7.927466607652605]