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.001503/0.001503, allocations: 103.4 kB / 16.45 MB, free: 6.035 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.001885/0.001885, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.547/1.547, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.056 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.86, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001972/0.862, allocations: 0.6867 MB / 1.214 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.8641, allocations: 1.352 MB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.8642, allocations: 1.719 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.8648, allocations: 190.1 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.8649, allocations: 107.3 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008674/0.8658, allocations: 229.4 kB / 1.215 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006643/0.8665, allocations: 499.6 kB / 1.216 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.8665, allocations: 2.156 kB / 1.216 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.8668, allocations: 205.1 kB / 1.216 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.8672, allocations: 226.8 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.8672, allocations: 20.53 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.8675, allocations: 85.91 kB / 1.216 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.8679, allocations: 272.1 kB / 1.217 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.8681, allocations: 152.2 kB / 1.217 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.8687, allocations: 477.5 kB / 1.217 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8687, allocations: 1.156 kB / 1.217 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8687, allocations: 0 / 1.217 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8687, allocations: 0 / 1.217 GB, free: 0.8945 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.001129/0.8698, allocations: 0.6435 MB / 1.218 GB, free: 336 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.8699, allocations: 14.58 kB / 1.218 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.8699, allocations: 39.98 kB / 1.218 GB, free: 284 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.87, allocations: 38.39 kB / 1.218 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006921/0.8707, allocations: 388.8 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.8708, allocations: 12.69 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.8708, allocations: 21.16 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.8711, allocations: 188.4 kB / 1.219 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8712, allocations: 5.031 kB / 1.219 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.8712, allocations: 5.094 kB / 1.219 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8712, allocations: 1.125 kB / 1.219 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.8714, allocations: 113.5 kB / 1.219 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.8719, allocations: 383.4 kB / 1.219 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.8724, allocations: 314.6 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.8726, allocations: 123.3 kB / 1.219 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.8726, allocations: 2.062 kB / 1.219 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/0.8732, allocations: 294.8 kB / 1.22 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/0.8732, allocations: 1.156 kB / 1.22 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009564/0.8741, allocations: 0.4918 MB / 1.22 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.8742, allocations: 120.3 kB / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.8748, allocations: 406.2 kB / 1.221 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.8748, allocations: 36.77 kB / 1.221 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.875, allocations: 159.1 kB / 1.221 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.875, allocations: 43.03 kB / 1.221 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.8752, allocations: 120.7 kB / 1.221 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.8754, allocations: 340.7 kB / 1.221 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.8756, allocations: 82.77 kB / 1.221 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.8761, allocations: 467.2 kB / 1.222 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.8765, allocations: 254.4 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8765, allocations: 1.375 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005808/0.8771, allocations: 330 kB / 1.222 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.8771, allocations: 13.92 kB / 1.222 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8771, allocations: 3.969 kB / 1.223 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.8771, allocations: 5.438 kB / 1.223 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.8773, allocations: 28.48 kB / 1.223 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.8773, allocations: 13.28 kB / 1.223 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.8781, allocations: 65.95 kB / 1.223 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.8781, allocations: 14.12 kB / 1.223 GB, free: 12.89 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.0002663/0.8784, allocations: 191.4 kB / 1.223 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.8784, allocations: 37.06 kB / 1.223 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.8785, allocations: 32.77 kB / 1.223 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.8785, allocations: 6.578 kB / 1.223 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8785, allocations: 1.125 kB / 1.223 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.8785, allocations: 9.328 kB / 1.223 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.8789, allocations: 283.5 kB / 1.223 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8789, allocations: 1.281 kB / 1.223 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.8789, allocations: 2.875 kB / 1.223 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.8789, allocations: 9.016 kB / 1.223 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.8789, allocations: 5 kB / 1.223 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8789, allocations: 5.234 kB / 1.223 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.8789, allocations: 5.094 kB / 1.223 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.8795, allocations: 432.5 kB / 1.224 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.8796, allocations: 105.7 kB / 1.224 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.8797, allocations: 9.484 kB / 1.224 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.8798, allocations: 2.719 kB / 1.224 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.8798, allocations: 18.8 kB / 1.224 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.8798, allocations: 10.66 kB / 1.224 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003431/0.8802, allocations: 288.2 kB / 1.224 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8802, allocations: 4 kB / 1.224 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004501/0.8806, allocations: 83.3 kB / 1.224 GB, free: 11.86 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.001122/0.8818, allocations: 1 MB / 1.225 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.8822, allocations: 253.8 kB / 1.225 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8822, allocations: 0 / 1.225 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.8824, allocations: 120.4 kB / 1.225 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.8827, allocations: 29.95 kB / 1.225 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.8871, allocations: 3.279 MB / 1.229 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.8875, allocations: 0.7636 MB / 1.229 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.8877, allocations: 53.88 kB / 1.229 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.8878, allocations: 87.41 kB / 1.23 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of SimCode: time 1.242e-06/0.8878, allocations: 0 / 1.23 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.9239, allocations: 7.623 MB / 1.237 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.259, allocations: 11 kB / 1.237 GB, free: 14.91 MB / 0.9512 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.304702986963093]