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.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.001656/0.001656, allocations: 104.3 kB / 16.45 MB, free: 6.445 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.00185/0.00185, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.104 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 168.7 MB / 1.269 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001869/1.088, allocations: 0.6858 MB / 1.269 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001754/1.09, allocations: 1.358 MB / 1.271 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/1.09, allocations: 0.9375 kB / 1.271 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/1.09, allocations: 184.3 kB / 1.271 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/1.09, allocations: 108.5 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/1.091, allocations: 225.9 kB / 1.271 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006584/1.092, allocations: 0.4936 MB / 1.272 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/1.092, allocations: 3.141 kB / 1.272 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/1.092, allocations: 200.2 kB / 1.272 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/1.093, allocations: 234.1 kB / 1.272 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/1.093, allocations: 21.44 kB / 1.272 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/1.093, allocations: 82.47 kB / 1.272 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/1.093, allocations: 273.6 kB / 1.272 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/1.093, allocations: 148.8 kB / 1.273 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006172/1.094, allocations: 485.9 kB / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.094, allocations: 0 / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/1.094, allocations: 0.8438 kB / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.094, allocations: 0 / 1.273 GB, free: 5.766 MB / 0.9981 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.001018/1.095, allocations: 0.6425 MB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.095, allocations: 9.656 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/1.095, allocations: 37.8 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/1.095, allocations: 35.97 kB / 1.274 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/1.096, allocations: 385.3 kB / 1.274 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/1.096, allocations: 14.09 kB / 1.274 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/1.096, allocations: 25 kB / 1.274 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/1.096, allocations: 193.7 kB / 1.274 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.096, allocations: 5.859 kB / 1.274 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/1.096, allocations: 5.375 kB / 1.274 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.096, allocations: 1.25 kB / 1.274 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/1.097, allocations: 108.9 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/1.097, allocations: 388.4 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/1.097, allocations: 316 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/1.098, allocations: 122.5 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/1.098, allocations: 1.688 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/1.098, allocations: 283.8 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/1.098, allocations: 0 / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009637/1.099, allocations: 0.4939 MB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.099, allocations: 118.8 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/1.1, allocations: 396.1 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/1.1, allocations: 37.22 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/1.1, allocations: 166.4 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/1.1, allocations: 37.42 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.1, allocations: 123 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/1.1, allocations: 343.1 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/1.1, allocations: 86.47 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/1.101, allocations: 469.5 kB / 1.278 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/1.101, allocations: 256.3 kB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.101, allocations: 1.438 kB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005205/1.102, allocations: 331 kB / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.102, allocations: 13.5 kB / 1.278 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.102, allocations: 5.734 kB / 1.278 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.102, allocations: 6.922 kB / 1.278 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/1.102, allocations: 31.52 kB / 1.278 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.102, allocations: 7.266 kB / 1.278 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/1.103, allocations: 73.02 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/1.103, allocations: 13.62 kB / 1.278 GB, free: 2.414 MB / 0.9981 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.0002192/1.103, allocations: 194.1 kB / 1.279 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/1.103, allocations: 33.31 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/1.103, allocations: 32.77 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.103, allocations: 2.406 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.103, allocations: 1.094 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/1.103, allocations: 5.828 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/1.104, allocations: 287.6 kB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.104, allocations: 0.7969 kB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/1.104, allocations: 11.58 kB / 1.279 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.104, allocations: 3.938 kB / 1.279 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/1.104, allocations: 5.625 kB / 1.279 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.104, allocations: 0.7031 kB / 1.279 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.104, allocations: 2.562 kB / 1.279 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/1.104, allocations: 432.1 kB / 1.279 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/1.104, allocations: 116.4 kB / 1.28 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/1.104, allocations: 5.344 kB / 1.28 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/1.104, allocations: 0.6562 kB / 1.28 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/1.104, allocations: 21.19 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/1.104, allocations: 12.55 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002796/1.105, allocations: 287.8 kB / 1.28 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.105, allocations: 4 kB / 1.28 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004321/1.105, allocations: 80.02 kB / 1.28 GB, free: 1.547 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.0008043/1.106, allocations: 1 MB / 1.281 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000425/1.106, allocations: 256.2 kB / 1.281 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/1.106, allocations: 0 / 1.281 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/1.107, allocations: 122.2 kB / 1.281 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/1.107, allocations: 23.75 kB / 1.281 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/1.111, allocations: 3.259 MB / 1.284 GB, free: 14.76 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/1.111, allocations: 0.768 MB / 1.285 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001699/1.112, allocations: 48.64 kB / 1.285 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.112, allocations: 87.84 kB / 1.285 GB, free: 13.99 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.112, allocations: 3.938 kB / 1.285 GB, free: 13.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/1.147, allocations: 7.637 MB / 1.293 GB, free: 13.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/9.614, allocations: 8.625 kB / 1.293 GB, free: 13.21 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 15.817938718944788]