Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 1.061 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 160.8 MB / 1.218 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002387/1.031, allocations: 0.697 MB / 1.219 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002413/1.034, allocations: 1.361 MB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/1.034, allocations: 1.125 kB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006565/1.034, allocations: 190.8 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/1.035, allocations: 103.6 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009886/1.036, allocations: 237.2 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008111/1.036, allocations: 0.4952 MB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/1.036, allocations: 3.156 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/1.037, allocations: 205.5 kB / 1.222 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004859/1.037, allocations: 224.6 kB / 1.222 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/1.037, allocations: 21.28 kB / 1.222 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/1.038, allocations: 111.6 kB / 1.222 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005046/1.038, allocations: 274.3 kB / 1.222 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/1.038, allocations: 151.5 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008133/1.039, allocations: 479.4 kB / 1.223 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.039, allocations: 0 / 1.223 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.565e-06/1.039, allocations: 0 / 1.223 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.214e-05/1.039, allocations: 1.188 kB / 1.223 GB, free: 0.7461 MB / 0.92 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.001311/1.041, allocations: 0.6468 MB / 1.224 GB, free: 180 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.041, allocations: 9.438 kB / 1.224 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/1.041, allocations: 38.27 kB / 1.224 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/1.042, allocations: 384.7 kB / 1.224 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/1.042, allocations: 12.19 kB / 1.224 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/1.042, allocations: 24.75 kB / 1.224 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/1.042, allocations: 185.9 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.042, allocations: 192 / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/1.042, allocations: 9.078 kB / 1.224 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.042, allocations: 1 kB / 1.224 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/1.042, allocations: 113.6 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/1.043, allocations: 392.1 kB / 1.225 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/1.043, allocations: 313.8 kB / 1.225 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/1.044, allocations: 124.8 kB / 1.225 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/1.044, allocations: 4.781 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006074/1.044, allocations: 276.6 kB / 1.225 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.654e-06/1.044, allocations: 0 / 1.225 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001075/1.045, allocations: 0.4957 MB / 1.226 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.045, allocations: 112.9 kB / 1.226 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/1.046, allocations: 402.6 kB / 1.226 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/1.046, allocations: 40.77 kB / 1.226 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/1.046, allocations: 158.7 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/1.046, allocations: 42.73 kB / 1.227 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.047, allocations: 112.3 kB / 1.227 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.047, allocations: 345.1 kB / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/1.047, allocations: 82.45 kB / 1.227 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/1.048, allocations: 467.1 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/1.048, allocations: 257.1 kB / 1.228 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.048, allocations: 1.156 kB / 1.228 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005656/1.048, allocations: 325.3 kB / 1.228 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.049, allocations: 10.84 kB / 1.228 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.049, allocations: 4.688 kB / 1.228 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.049, allocations: 4.516 kB / 1.228 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/1.049, allocations: 32.58 kB / 1.228 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.049, allocations: 13.92 kB / 1.228 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/1.049, allocations: 83.2 kB / 1.228 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/1.05, allocations: 10.16 kB / 1.228 GB, free: 12.79 MB / 0.9356 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.0002539/1.05, allocations: 195.2 kB / 1.228 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/1.05, allocations: 35.38 kB / 1.228 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/1.05, allocations: 29.89 kB / 1.228 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.05, allocations: 4 kB / 1.228 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.05, allocations: 0 / 1.228 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.05, allocations: 8 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/1.05, allocations: 285.4 kB / 1.229 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.05, allocations: 0 / 1.229 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/1.05, allocations: 4 kB / 1.229 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.05, allocations: 11.92 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/1.05, allocations: 8 kB / 1.229 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.05, allocations: 4.562 kB / 1.229 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.05, allocations: 0 / 1.229 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/1.051, allocations: 436.8 kB / 1.229 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/1.051, allocations: 101 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/1.051, allocations: 7.938 kB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/1.051, allocations: 4 kB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/1.051, allocations: 19.97 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/1.051, allocations: 8 kB / 1.229 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003673/1.052, allocations: 295 kB / 1.23 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.052, allocations: 4 kB / 1.23 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004444/1.052, allocations: 79.86 kB / 1.23 GB, free: 11.24 MB / 0.9356 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.0002886/1.052, allocations: 135.7 kB / 1.23 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005014/1.053, allocations: 252.3 kB / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.053, allocations: 192 / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/1.053, allocations: 131.8 kB / 1.23 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/1.053, allocations: 24.64 kB / 1.23 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/1.054, allocations: 0.5685 MB / 1.231 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/1.055, allocations: 0.7636 MB / 1.231 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001257/1.055, allocations: 46.12 kB / 1.232 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/1.055, allocations: 35.36 kB / 1.232 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/1.055, allocations: 0 / 1.232 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of Templates: time 0.01019/1.065, allocations: 5.111 MB / 1.237 GB, free: 4.164 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.78250739350915]