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.001923/0.001923, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002498/0.002498, allocations: 221.5 kB / 23 MB, free: 4.906 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.162/3.162, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 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.002121/0.002121, allocations: 67.28 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001984/0.3416, allocations: 0.6738 MB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.3437, allocations: 1.346 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.3438, allocations: 7.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.3443, allocations: 191.6 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.3445, allocations: 95.67 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008549/0.3453, allocations: 248 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.346, allocations: 491.7 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.346, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.3463, allocations: 207.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.3467, allocations: 227.5 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3468, allocations: 20 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.3471, allocations: 95.91 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.3475, allocations: 271.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3477, allocations: 131.4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.3483, allocations: 486.4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3483, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3483, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3483, allocations: 3.938 kB / 1.331 GB, free: 13.41 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.00104/0.3493, allocations: 0.5747 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3494, allocations: 8.031 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3495, allocations: 36.75 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.3501, allocations: 318.5 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3501, allocations: 12.38 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.3502, allocations: 20.38 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3505, allocations: 196.6 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3505, allocations: 4.125 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3505, allocations: 7.938 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3505, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3507, allocations: 103.9 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3511, allocations: 270.9 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.3516, allocations: 315.6 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.3518, allocations: 130.5 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.3518, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004707/0.3523, allocations: 285.5 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.874e-06/0.3523, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008892/0.3532, allocations: 0.4935 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.3533, allocations: 114.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.3537, allocations: 396.5 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.3538, allocations: 45.69 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.354, allocations: 148.8 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.354, allocations: 39.78 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3542, allocations: 113.6 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3544, allocations: 346.8 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3545, allocations: 83.95 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009341/0.3555, allocations: 1.08 MB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.3558, allocations: 269.4 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3558, allocations: 0 / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005611/0.3564, allocations: 333 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3564, allocations: 10.5 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3564, allocations: 4 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3564, allocations: 15.81 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3566, allocations: 31.92 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3566, allocations: 11.94 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.3573, allocations: 68.97 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.3574, allocations: 16 kB / 1.336 GB, free: 7.008 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.00024/0.3576, allocations: 192.3 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.3576, allocations: 27.81 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.3577, allocations: 37.83 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3577, allocations: 0 / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3577, allocations: 4 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3577, allocations: 4 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.358, allocations: 201.2 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.358, allocations: 4 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.358, allocations: 4 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.358, allocations: 3.938 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.358, allocations: 7.984 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.358, allocations: 7.938 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.358, allocations: 0 / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.3587, allocations: 426.6 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.3587, allocations: 27.78 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3587, allocations: 8 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.3588, allocations: 7.984 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3589, allocations: 23.95 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.3589, allocations: 19.88 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000346/0.3593, allocations: 291 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3593, allocations: 0 / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003925/0.3597, allocations: 79.92 kB / 1.338 GB, free: 5.602 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.0002305/0.3599, allocations: 135.1 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.3604, allocations: 259.6 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3604, allocations: 4 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.3606, allocations: 143.9 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3609, allocations: 28.64 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3619, allocations: 0.6178 MB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.3621, allocations: 157.2 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.3622, allocations: 31.38 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3622, allocations: 0 / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of Templates: time 0.007692/0.3699, allocations: 4.402 MB / 1.343 GB, free: 15.84 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 -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: 11.934906320180744]