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.001365/0.001365, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001483/0.001483, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.809 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.264/3.264, allocations: 0.4892 GB / 0.7943 GB, free: 35.36 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.002071/0.002071, allocations: 71.05 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4004, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002155/0.4026, allocations: 0.6638 MB / 1.326 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.4047, allocations: 1.35 MB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.4048, allocations: 0 / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.4053, allocations: 199.5 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.4054, allocations: 99.73 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.4063, allocations: 239.3 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006129/0.4069, allocations: 483.6 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.4069, allocations: 11.98 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.4073, allocations: 203.6 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.4077, allocations: 223.6 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.4078, allocations: 28 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.4081, allocations: 95.91 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.4085, allocations: 271.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.4087, allocations: 131.4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.4093, allocations: 482.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.4093, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4093, allocations: 7.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.4094, allocations: 0 / 1.329 GB, free: 13.91 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.001201/0.4106, allocations: 0.5631 MB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4106, allocations: 16.03 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.4106, allocations: 30.75 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.4108, allocations: 32.75 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.4115, allocations: 330.5 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.4115, allocations: 16.38 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.4116, allocations: 20.38 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.4119, allocations: 192.6 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4119, allocations: 3.938 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4119, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.4119, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.4121, allocations: 115.9 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.4126, allocations: 298.4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.413, allocations: 315.6 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.4132, allocations: 118.6 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.4132, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.4137, allocations: 293.4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.4138, allocations: 8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009076/0.4147, allocations: 0.4895 MB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.4148, allocations: 110.8 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.4153, allocations: 400.5 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/0.4153, allocations: 45.64 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.4155, allocations: 152.8 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.4155, allocations: 35.73 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.4157, allocations: 117.6 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4159, allocations: 342.8 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.416, allocations: 91.94 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/0.417, allocations: 1.086 MB / 1.334 GB, free: 8.203 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.4174, allocations: 253.5 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4174, allocations: 4 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005574/0.4179, allocations: 333 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4179, allocations: 10.38 kB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.418, allocations: 8.234 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.418, allocations: 4 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4181, allocations: 35.91 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4182, allocations: 4 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/0.4189, allocations: 71.94 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4189, allocations: 16 kB / 1.335 GB, free: 7.426 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.0002362/0.4191, allocations: 192.3 kB / 1.335 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.4192, allocations: 35.75 kB / 1.335 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.4193, allocations: 33.89 kB / 1.335 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4193, allocations: 4 kB / 1.335 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4193, allocations: 0 / 1.335 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4193, allocations: 3.984 kB / 1.335 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.4195, allocations: 224.7 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4195, allocations: 3.938 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.4196, allocations: 7.938 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-06/0.4196, allocations: 3.938 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.4196, allocations: 15.98 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4196, allocations: 7.938 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4196, allocations: 0 / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.4202, allocations: 427.1 kB / 1.336 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.4203, allocations: 39.72 kB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4203, allocations: 4 kB / 1.336 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.4204, allocations: 4 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.4205, allocations: 19.97 kB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.4205, allocations: 12 kB / 1.336 GB, free: 6.336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003419/0.4208, allocations: 287 kB / 1.336 GB, free: 6.059 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4208, allocations: 4 kB / 1.336 GB, free: 6.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000405/0.4212, allocations: 79.92 kB / 1.337 GB, free: 5.977 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.001116/0.4224, allocations: 1.006 MB / 1.337 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.4228, allocations: 244.4 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4228, allocations: 0 / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.423, allocations: 127.9 kB / 1.338 GB, free: 4.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4233, allocations: 28.64 kB / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.4276, allocations: 3.262 MB / 1.341 GB, free: 1.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.4278, allocations: 165 kB / 1.341 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.4279, allocations: 49.94 kB / 1.341 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.4281, allocations: 79.41 kB / 1.341 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.4281, allocations: 0 / 1.341 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.4698, allocations: 8.646 MB / 1.35 GB, free: 8.402 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.97, allocations: 6.312 kB / 1.35 GB, free: 8.398 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.81587291508913]