Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001611/0.001611, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00154/0.00154, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.554/1.554, 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 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 3.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [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.002184/0.002184, allocations: 73.55 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3942, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001976/0.3962, allocations: 0.6627 MB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3982, allocations: 1.354 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.3983, allocations: 7.875 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.3988, allocations: 195.6 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.3989, allocations: 99.67 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.3997, allocations: 242.1 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.4003, allocations: 483.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.4003, allocations: 4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.4006, allocations: 211.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.4009, allocations: 231.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.987e-05/0.401, allocations: 20 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.4012, allocations: 99.91 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.4017, allocations: 275.4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.4019, allocations: 131.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.4024, allocations: 482.4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4024, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4024, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4024, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001209/0.4036, allocations: 0.5709 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4037, allocations: 8.031 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.4038, allocations: 32.75 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.4044, allocations: 326.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4045, allocations: 12.38 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.114e-05/0.4046, allocations: 20.38 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.4049, allocations: 188.6 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4049, allocations: 4.188 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.4049, allocations: 7.938 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4049, allocations: 4 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.4051, allocations: 103.9 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.4055, allocations: 270.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.4061, allocations: 315.6 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.4063, allocations: 126.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.4063, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/0.4069, allocations: 295.2 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.4069, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001088/0.408, allocations: 0.4972 MB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.4081, allocations: 118.7 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.4087, allocations: 400.5 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.4088, allocations: 41.7 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.409, allocations: 148.8 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.409, allocations: 39.8 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.4093, allocations: 117.6 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.4095, allocations: 342.8 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.4096, allocations: 79.95 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.4106, allocations: 1.087 MB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.4109, allocations: 261.6 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.411, allocations: 0 / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006228/0.4116, allocations: 333.2 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4116, allocations: 8 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4116, allocations: 4 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4116, allocations: 7.938 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.4118, allocations: 31.86 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.4118, allocations: 11.98 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.4127, allocations: 72.23 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.4127, allocations: 16 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003263/0.413, allocations: 188.3 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.4131, allocations: 27.81 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.4132, allocations: 41.83 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4132, allocations: 0 / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.4132, allocations: 4 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4132, allocations: 3.938 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.4135, allocations: 201.2 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4135, allocations: 0 / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.4135, allocations: 15.92 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4135, allocations: 0 / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4135, allocations: 4 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4135, allocations: 7.938 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4135, allocations: 0 / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.4142, allocations: 429.2 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.4142, allocations: 35.72 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.4143, allocations: 4 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.4144, allocations: 7.938 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.4144, allocations: 27.95 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.4145, allocations: 15.98 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003799/0.4149, allocations: 291 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4149, allocations: 0 / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004577/0.4153, allocations: 75.92 kB / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002712/0.4156, allocations: 139.1 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.4161, allocations: 255.8 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4161, allocations: 4 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.4163, allocations: 119.9 kB / 1.339 GB, free: 4.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.4166, allocations: 34.3 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4176, allocations: 0.5763 MB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.4178, allocations: 153.7 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.4179, allocations: 45.89 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.418, allocations: 35.42 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.418, allocations: 0 / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of Templates: time 0.01133/0.4293, allocations: 5.616 MB / 1.345 GB, free: 13.82 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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: 9.536370810004883]