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.001593/0.001593, 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.001676/0.001676, 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.883/2.883, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002013/0.002013, allocations: 71.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9154/0.9174, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001659/0.9191, allocations: 0.6814 MB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.9204, allocations: 1.388 MB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.9204, allocations: 2.844 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.9208, allocations: 182.6 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.9209, allocations: 109.4 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.9215, allocations: 230.5 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.9218, allocations: 0.4898 MB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.9219, allocations: 2.656 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.922, allocations: 205.9 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.9223, allocations: 223 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.9223, allocations: 20.72 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.9225, allocations: 95.28 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.9228, allocations: 264.3 kB / 1.326 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.923, allocations: 157.4 kB / 1.326 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.9235, allocations: 479.8 kB / 1.326 GB, free: 22.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9235, allocations: 0.7188 kB / 1.326 GB, free: 22.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9235, allocations: 0 / 1.326 GB, free: 22.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.9235, allocations: 0.7812 kB / 1.326 GB, free: 22.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009098/0.9244, allocations: 0.6496 MB / 1.327 GB, free: 22.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.9244, allocations: 13.33 kB / 1.327 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.9246, allocations: 37.52 kB / 1.327 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.925, allocations: 388.5 kB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.9251, allocations: 12.66 kB / 1.327 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.9251, allocations: 20.28 kB / 1.327 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.9254, allocations: 189.8 kB / 1.328 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9255, allocations: 192 / 1.328 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.9255, allocations: 9.016 kB / 1.328 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.9255, allocations: 1.312 kB / 1.328 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.9257, allocations: 110.7 kB / 1.328 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.9261, allocations: 383.2 kB / 1.328 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.9266, allocations: 314.5 kB / 1.328 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.9268, allocations: 125.5 kB / 1.329 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.9268, allocations: 1.219 kB / 1.329 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.9272, allocations: 281.4 kB / 1.329 GB, free: 21.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.183e-06/0.9272, allocations: 0 / 1.329 GB, free: 21.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0008161/0.928, allocations: 0.4976 MB / 1.329 GB, free: 21.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.9281, allocations: 114.5 kB / 1.329 GB, free: 21.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.9285, allocations: 400.5 kB / 1.33 GB, free: 20.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.9285, allocations: 37.17 kB / 1.33 GB, free: 20.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.9287, allocations: 154.3 kB / 1.33 GB, free: 20.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.9287, allocations: 41.94 kB / 1.33 GB, free: 20.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.9289, allocations: 118.9 kB / 1.33 GB, free: 20.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.9289, allocations: 346.8 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.9291, allocations: 82.47 kB / 1.331 GB, free: 20.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.9295, allocations: 470.3 kB / 1.331 GB, free: 19.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.9298, allocations: 257.2 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9298, allocations: 0 / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004977/0.9303, allocations: 329.1 kB / 1.332 GB, free: 19.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.9303, allocations: 11.09 kB / 1.332 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9303, allocations: 4.156 kB / 1.332 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9303, allocations: 4.562 kB / 1.332 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.9305, allocations: 33.66 kB / 1.332 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.9305, allocations: 6.266 kB / 1.332 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.9313, allocations: 70.72 kB / 1.332 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.9313, allocations: 24.38 kB / 1.332 GB, free: 19.51 MB / 1.061 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.0001834/0.9315, allocations: 194.7 kB / 1.332 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.9315, allocations: 33.28 kB / 1.332 GB, free: 19.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.9316, allocations: 33.61 kB / 1.332 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.9316, allocations: 3.094 kB / 1.332 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9316, allocations: 0 / 1.332 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.9316, allocations: 2.75 kB / 1.332 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.9319, allocations: 286.3 kB / 1.332 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9319, allocations: 1.375 kB / 1.332 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.9319, allocations: 4.281 kB / 1.332 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9319, allocations: 6.016 kB / 1.332 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.9319, allocations: 5.375 kB / 1.332 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9319, allocations: 1.5 kB / 1.332 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9319, allocations: 1.719 kB / 1.332 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.9326, allocations: 439.6 kB / 1.333 GB, free: 18.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.9326, allocations: 107 kB / 1.333 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.9327, allocations: 7.109 kB / 1.333 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.9328, allocations: 6.812 kB / 1.333 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.9328, allocations: 16.77 kB / 1.333 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.9329, allocations: 11.91 kB / 1.333 GB, free: 18.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003926/0.9333, allocations: 288.2 kB / 1.333 GB, free: 18.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9333, allocations: 0 / 1.333 GB, free: 18.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004489/0.9337, allocations: 81 kB / 1.333 GB, free: 18.65 MB / 1.061 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.0002036/0.9339, allocations: 147 kB / 1.333 GB, free: 18.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.9343, allocations: 253.5 kB / 1.334 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9344, allocations: 2.188 kB / 1.334 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.9346, allocations: 146.4 kB / 1.334 GB, free: 18.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.9348, allocations: 29.88 kB / 1.334 GB, free: 18.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.9357, allocations: 0.6185 MB / 1.334 GB, free: 18.08 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.9359, allocations: 0.7601 MB / 1.335 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.9359, allocations: 34.83 kB / 1.335 GB, free: 17.37 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.9359, allocations: 0 / 1.335 GB, free: 17.37 MB / 1.061 GB Notification: Performance of Templates: time 0.008057/0.944, allocations: 4.347 MB / 1.339 GB, free: 16.94 MB / 1.061 GB " [Timeout remaining time 299] 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 -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: 12.181896609996329]