Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001789/0.001789, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002437/0.002437, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.924/2.924, allocations: 476.8 MB / 0.7707 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [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: 65.5 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002205/0.3562, allocations: 0.7034 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.3584, allocations: 1.383 MB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.3585, allocations: 3.938 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.359, allocations: 187.6 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3591, allocations: 107.7 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.36, allocations: 242.7 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006664/0.3607, allocations: 0.4919 MB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3607, allocations: 4 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.361, allocations: 203.7 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.3614, allocations: 235.4 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.3615, allocations: 24 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.3618, allocations: 99.91 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.3622, allocations: 271.5 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.3624, allocations: 151.3 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.3631, allocations: 474.7 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3631, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3631, allocations: 3.938 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.3632, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 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.001267/0.3644, allocations: 0.5747 MB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.3645, allocations: 8.031 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.357e-05/0.3646, allocations: 42.73 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3647, allocations: 36.75 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.3654, allocations: 322.5 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3654, allocations: 16.31 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.3655, allocations: 20.38 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3658, allocations: 196.5 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3659, allocations: 3.938 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.3659, allocations: 4 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3659, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.3661, allocations: 111.9 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.3666, allocations: 350.2 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.3671, allocations: 319.6 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.3673, allocations: 126.6 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.3673, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.3679, allocations: 289.6 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.3679, allocations: 0 / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.000941/0.3689, allocations: 493.4 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.369, allocations: 122.8 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.3695, allocations: 396.5 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.007e-05/0.3696, allocations: 41.69 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3697, allocations: 156.8 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.3698, allocations: 35.78 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3699, allocations: 117.6 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3701, allocations: 342.8 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3703, allocations: 83.95 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.3708, allocations: 472.7 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.3712, allocations: 253.5 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.3712, allocations: 4 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005709/0.3718, allocations: 333.2 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3718, allocations: 7.938 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.3718, allocations: 4 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.3718, allocations: 11.94 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.372, allocations: 39.84 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.372, allocations: 4 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.3728, allocations: 72.11 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3728, allocations: 12.62 kB / 1.293 GB, free: 1.438 MB / 0.9825 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.0002383/0.373, allocations: 191.7 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.3731, allocations: 31.75 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.3732, allocations: 33.89 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3732, allocations: 4 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3732, allocations: 0 / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3732, allocations: 7.984 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.3735, allocations: 252.6 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3735, allocations: 0 / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.3735, allocations: 11.92 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3735, allocations: 3.938 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3735, allocations: 4 kB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3735, allocations: 4 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3735, allocations: 0 / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.3741, allocations: 436.6 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.3742, allocations: 35.72 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3742, allocations: 48 / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.3743, allocations: 15.98 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.3744, allocations: 23.91 kB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3744, allocations: 11.94 kB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000343/0.3748, allocations: 291 kB / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3748, allocations: 0 / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004173/0.3752, allocations: 80 kB / 1.294 GB, free: 15.95 MB / 0.9981 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.001091/0.3763, allocations: 1.004 MB / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.3767, allocations: 255.7 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3767, allocations: 0 / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.3769, allocations: 115.9 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.3772, allocations: 24.64 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.3815, allocations: 3.272 MB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.382, allocations: 0.7597 MB / 1.3 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.3821, allocations: 57.88 kB / 1.3 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.3823, allocations: 83.41 kB / 1.3 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/0.3823, allocations: 0 / 1.3 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.4215, allocations: 7.805 MB / 1.307 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 16.7 kB / 1.307 GB, free: 2.562 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.864068667870015]