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.001314/0.001314, allocations: 104.3 kB / 16.45 MB, free: 6.453 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.001872/0.001872, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.252/3.252, allocations: 0.49 GB / 0.7916 GB, free: 33.14 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_12_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_12_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.002113/0.002113, allocations: 66.28 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001896/0.385, allocations: 0.6867 MB / 1.321 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3869, allocations: 1.377 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.387, allocations: 0 / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.3875, allocations: 195.5 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3876, allocations: 99.72 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.3883, allocations: 238.6 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.3889, allocations: 495.7 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.3889, allocations: 8 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.3892, allocations: 207.7 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.3895, allocations: 223.6 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.3896, allocations: 24 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3898, allocations: 87.88 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.3902, allocations: 267.4 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3904, allocations: 155.3 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.391, allocations: 474.8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.391, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.391, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.391, allocations: 0 / 1.325 GB, free: 14.89 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.001109/0.3921, allocations: 0.6461 MB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3921, allocations: 15.98 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.3922, allocations: 38.73 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.3923, allocations: 40.69 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.393, allocations: 388.3 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.393, allocations: 12.36 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/0.3931, allocations: 20.38 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3934, allocations: 188.7 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3934, allocations: 3.938 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.3934, allocations: 0 / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3934, allocations: 4 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.3936, allocations: 115.8 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.3941, allocations: 383.1 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.3947, allocations: 315.6 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.3949, allocations: 118.6 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.3949, allocations: 7.938 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/0.3954, allocations: 287.2 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3954, allocations: 0 / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009162/0.3963, allocations: 0.5011 MB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3964, allocations: 110.8 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.3969, allocations: 404.5 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.397, allocations: 41.7 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3971, allocations: 148.8 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.3972, allocations: 43.73 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.3974, allocations: 117.5 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.3976, allocations: 342.8 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.3977, allocations: 83.95 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.3983, allocations: 466.8 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.3987, allocations: 261.6 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3987, allocations: 0 / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005408/0.3992, allocations: 325.1 kB / 1.33 GB, free: 9.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3992, allocations: 11.94 kB / 1.33 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3992, allocations: 7.938 kB / 1.33 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3993, allocations: 4.125 kB / 1.33 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3994, allocations: 36.33 kB / 1.33 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.3994, allocations: 15.94 kB / 1.33 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/0.4002, allocations: 71.75 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4003, allocations: 12 kB / 1.331 GB, free: 8.914 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.0002465/0.4005, allocations: 192 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.4006, allocations: 35.75 kB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.4006, allocations: 33.89 kB / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4006, allocations: 0 / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4006, allocations: 4 kB / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4006, allocations: 0 / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.4009, allocations: 281.5 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.401, allocations: 4 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.401, allocations: 0 / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.401, allocations: 7.938 kB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.401, allocations: 11.98 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.401, allocations: 0 / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.401, allocations: 7.938 kB / 1.331 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.4017, allocations: 427.2 kB / 1.332 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.4018, allocations: 108.8 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.4018, allocations: 4 kB / 1.332 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.4019, allocations: 4 kB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.402, allocations: 20.03 kB / 1.332 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.402, allocations: 19.97 kB / 1.332 GB, free: 7.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003615/0.4024, allocations: 291 kB / 1.332 GB, free: 7.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4024, allocations: 0 / 1.332 GB, free: 7.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004294/0.4028, allocations: 75.94 kB / 1.332 GB, free: 7.32 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.001142/0.4039, allocations: 1.017 MB / 1.333 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.4044, allocations: 247.7 kB / 1.333 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4044, allocations: 0.8125 kB / 1.333 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.4046, allocations: 123.8 kB / 1.333 GB, free: 5.902 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4049, allocations: 36.47 kB / 1.333 GB, free: 5.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.4091, allocations: 3.261 MB / 1.337 GB, free: 2.418 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.4096, allocations: 0.7636 MB / 1.337 GB, free: 1.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.4098, allocations: 45.94 kB / 1.337 GB, free: 1.582 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4099, allocations: 83.41 kB / 1.337 GB, free: 1.5 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.4099, allocations: 0 / 1.337 GB, free: 1.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.4429, allocations: 7.632 MB / 1.345 GB, free: 10.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/8.872, allocations: 0.5938 kB / 1.345 GB, free: 10.09 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] 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: 15.6266560559161]