Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001305/0.001305, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001411/0.001411, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 0.49 GB / 0.7923 GB, free: 1.465 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [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.002065/0.002065, allocations: 67.91 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.8878, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001641/0.8895, allocations: 0.6186 MB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.8896, allocations: 9.953 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.8896, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.8897, allocations: 6.719 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.627e-05/0.8898, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.213e-05/0.8898, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.8899, allocations: 25.91 kB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.89, allocations: 32.92 kB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.89, allocations: 20.08 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.733e-05/0.8901, allocations: 14.09 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.8901, allocations: 2.812 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.8901, allocations: 2.781 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.8901, allocations: 9.781 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.8901, allocations: 21.69 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.419e-05/0.8902, allocations: 50.95 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8902, allocations: 3.938 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8902, allocations: 0 / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8902, allocations: 0 / 1.323 GB, free: 24.57 MB / 1.061 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.0002562/0.8905, allocations: 352.2 kB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.8905, allocations: 11.8 kB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.8906, allocations: 3.844 kB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.8907, allocations: 178.8 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.8907, allocations: 10.84 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.8907, allocations: 7.297 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.8909, allocations: 82.83 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8909, allocations: 192 / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.8909, allocations: 7.938 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.8909, allocations: 2.594 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.8909, allocations: 43.05 kB / 1.323 GB, free: 23.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.8913, allocations: 485.2 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.8914, allocations: 172 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.8914, allocations: 80.14 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.8914, allocations: 82.5 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.8914, allocations: 105.8 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8914, allocations: 0 / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.419e-05/0.8915, allocations: 38.94 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.8915, allocations: 130.7 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.8916, allocations: 174.1 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-06/0.8916, allocations: 25.7 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.8917, allocations: 90.03 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.8917, allocations: 3.938 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.8917, allocations: 16.5 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.8917, allocations: 313.4 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.8917, allocations: 17.05 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.8918, allocations: 9.641 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.8918, allocations: 18.08 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8918, allocations: 2.75 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.696e-05/0.8919, allocations: 53.45 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.8919, allocations: 5.625 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8919, allocations: 0 / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8919, allocations: 0 / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.892, allocations: 6.875 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.892, allocations: 11.45 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.892, allocations: 10.73 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.892, allocations: 2.844 kB / 1.325 GB, free: 22.18 MB / 1.061 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 5.578e-05/0.8921, allocations: 190.2 kB / 1.325 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.8921, allocations: 111.8 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.8921, allocations: 107.7 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.8921, allocations: 190.6 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.8922, allocations: 180.2 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.8922, allocations: 180.3 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.8923, allocations: 419.8 kB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.8923, allocations: 105.4 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.8924, allocations: 104.9 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.222e-05/0.8924, allocations: 184.4 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.8924, allocations: 186.5 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.072e-05/0.8924, allocations: 180.2 kB / 1.327 GB, free: 19.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.246e-05/0.8924, allocations: 180.2 kB / 1.327 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.41e-05/0.8925, allocations: 317.1 kB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.8926, allocations: 188.9 kB / 1.328 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.8926, allocations: 183.2 kB / 1.328 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.8926, allocations: 104.2 kB / 1.328 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.8927, allocations: 191.2 kB / 1.328 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.8927, allocations: 101.3 kB / 1.328 GB, free: 18.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.8928, allocations: 132 kB / 1.329 GB, free: 18.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8928, allocations: 0 / 1.329 GB, free: 18.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002249/0.893, allocations: 5.469 kB / 1.329 GB, free: 18.6 MB / 1.061 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.0001039/0.8931, allocations: 174.8 kB / 1.329 GB, free: 18.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.539e-05/0.8931, allocations: 13.44 kB / 1.329 GB, free: 18.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8932, allocations: 0 / 1.329 GB, free: 18.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.8932, allocations: 2.938 kB / 1.329 GB, free: 18.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.8935, allocations: 471.6 kB / 1.329 GB, free: 17.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.8937, allocations: 232.6 kB / 1.329 GB, free: 17.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.8938, allocations: 0.6871 MB / 1.33 GB, free: 17.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.8938, allocations: 7.438 kB / 1.33 GB, free: 17.04 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.8938, allocations: 2.906 kB / 1.33 GB, free: 17.04 MB / 1.061 GB Notification: Performance of Templates: time 0.00198/0.8958, allocations: 0.7463 MB / 1.331 GB, free: 17 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.297036210002261]