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.001465/0.001465, allocations: 81.7 kB / 19.76 MB, free: 2.02 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.002056/0.002056, allocations: 162.2 kB / 23.02 MB, free: 4.945 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.763/2.763, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.002098/0.002098, allocations: 63.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9312/0.9333, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001784/0.9351, allocations: 0.6656 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.9368, allocations: 1.348 MB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.9368, allocations: 2.719 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.9373, allocations: 187.7 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.9375, allocations: 102.8 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.9381, allocations: 245.9 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.9386, allocations: 484.8 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.9386, allocations: 2.719 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.9388, allocations: 204.8 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.9391, allocations: 236.3 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.895e-05/0.9392, allocations: 20.16 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.9394, allocations: 101.1 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.9397, allocations: 271.3 kB / 1.158 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.9399, allocations: 133.5 kB / 1.158 GB, free: 31.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.9403, allocations: 479.1 kB / 1.158 GB, free: 31.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9403, allocations: 0 / 1.158 GB, free: 31.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9403, allocations: 0 / 1.158 GB, free: 31.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.9403, allocations: 0 / 1.158 GB, free: 31.2 MB / 1.076 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.0008353/0.9411, allocations: 0.5688 MB / 1.159 GB, free: 30.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.9411, allocations: 8.625 kB / 1.159 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.9413, allocations: 37.52 kB / 1.159 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.9417, allocations: 333.8 kB / 1.159 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.9417, allocations: 15.77 kB / 1.159 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.9418, allocations: 24.23 kB / 1.159 GB, free: 30.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.9421, allocations: 181.8 kB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9421, allocations: 192 / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.9421, allocations: 6.969 kB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9421, allocations: 0 / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.9422, allocations: 114.5 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.9425, allocations: 269.3 kB / 1.16 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.9429, allocations: 315.4 kB / 1.16 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.943, allocations: 126.8 kB / 1.16 GB, free: 30.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.943, allocations: 6.875 kB / 1.16 GB, free: 30.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.9434, allocations: 283.3 kB / 1.16 GB, free: 29.94 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.9434, allocations: 0 / 1.16 GB, free: 29.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0006711/0.944, allocations: 0.4988 MB / 1.161 GB, free: 29.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.9441, allocations: 112.5 kB / 1.161 GB, free: 29.65 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.9444, allocations: 401.5 kB / 1.161 GB, free: 29.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.9445, allocations: 39.77 kB / 1.161 GB, free: 29.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.9445, allocations: 154.6 kB / 1.162 GB, free: 29.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.9446, allocations: 33.52 kB / 1.162 GB, free: 29.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.9447, allocations: 115.8 kB / 1.162 GB, free: 29.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.9448, allocations: 343.5 kB / 1.162 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.9449, allocations: 84.14 kB / 1.162 GB, free: 28.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.9453, allocations: 1.092 MB / 1.163 GB, free: 27.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.9456, allocations: 261.4 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9456, allocations: 2.25 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000398/0.946, allocations: 330.3 kB / 1.164 GB, free: 27.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.946, allocations: 8.5 kB / 1.164 GB, free: 27.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.946, allocations: 6.906 kB / 1.164 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.946, allocations: 9.469 kB / 1.164 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.9461, allocations: 29.86 kB / 1.164 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9461, allocations: 9.188 kB / 1.164 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/0.9469, allocations: 70.53 kB / 1.164 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.9469, allocations: 13.69 kB / 1.164 GB, free: 27.38 MB / 1.076 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.0001451/0.947, allocations: 204.3 kB / 1.164 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.9471, allocations: 26.53 kB / 1.164 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.9471, allocations: 40.98 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9471, allocations: 2.625 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9471, allocations: 2.625 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.9471, allocations: 7.406 kB / 1.164 GB, free: 27.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.9473, allocations: 197.5 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9473, allocations: 0 / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.9473, allocations: 2.625 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.9473, allocations: 6.625 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.9473, allocations: 10 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.9473, allocations: 6.562 kB / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9473, allocations: 3.938 kB / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.9478, allocations: 428.6 kB / 1.165 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.9478, allocations: 24.27 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.9478, allocations: 6.234 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.9479, allocations: 11.03 kB / 1.165 GB, free: 26.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.948, allocations: 16.83 kB / 1.165 GB, free: 26.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.948, allocations: 12.69 kB / 1.165 GB, free: 26.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002286/0.9482, allocations: 286 kB / 1.165 GB, free: 26.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9482, allocations: 4 kB / 1.165 GB, free: 26.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003741/0.9486, allocations: 79.22 kB / 1.165 GB, free: 26.68 MB / 1.076 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.0001952/0.9488, allocations: 139.5 kB / 1.165 GB, free: 26.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.9492, allocations: 261.6 kB / 1.166 GB, free: 26.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9492, allocations: 2.969 kB / 1.166 GB, free: 26.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.9493, allocations: 123.3 kB / 1.166 GB, free: 26.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.9496, allocations: 20.72 kB / 1.166 GB, free: 26.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/0.9503, allocations: 0.5804 MB / 1.166 GB, free: 26.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.9504, allocations: 150.6 kB / 1.166 GB, free: 26.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.9505, allocations: 59.53 kB / 1.167 GB, free: 26.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.9505, allocations: 31.91 kB / 1.167 GB, free: 26.05 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9505, allocations: 0 / 1.167 GB, free: 26.05 MB / 1.076 GB Notification: Performance of Templates: time 0.009849/0.9604, allocations: 5.428 MB / 1.172 GB, free: 25.44 MB / 1.076 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 -s ida -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.105495232972316]