Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 97.88 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00944/0.00944, allocations: 171.8 kB / 16.27 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.235/3.235, allocations: 483.2 MB / 0.7564 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 10.84 kB / 0.9276 GB, free: 29.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.485, allocations: 164.5 MB / 1.088 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001492/0.4866, allocations: 412.8 kB / 1.089 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003467/0.4901, allocations: 1.338 MB / 1.09 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.4902, allocations: 0 / 1.09 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.4908, allocations: 187.6 kB / 1.09 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.491, allocations: 99.72 kB / 1.09 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.4919, allocations: 206.1 kB / 1.09 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.4925, allocations: 439.8 kB / 1.091 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.4926, allocations: 7.984 kB / 1.091 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.493, allocations: 187.6 kB / 1.091 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.4935, allocations: 203.6 kB / 1.091 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.4937, allocations: 12 kB / 1.091 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.4939, allocations: 67.94 kB / 1.091 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003998/0.4943, allocations: 243.5 kB / 1.092 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.4946, allocations: 169 kB / 1.092 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.4953, allocations: 455 kB / 1.092 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4953, allocations: 3.984 kB / 1.092 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4953, allocations: 0 / 1.092 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.4953, allocations: 0 / 1.092 GB, free: 6.277 MB / 0.8419 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.001224/0.4966, allocations: 0.5217 MB / 1.093 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4966, allocations: 12.03 kB / 1.093 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.4968, allocations: 32.56 kB / 1.093 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.4976, allocations: 388.1 kB / 1.093 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4976, allocations: 8.375 kB / 1.093 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.4977, allocations: 24.36 kB / 1.093 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.4981, allocations: 184.7 kB / 1.093 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4981, allocations: 8.188 kB / 1.093 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.4982, allocations: 7.922 kB / 1.093 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4982, allocations: 0 / 1.093 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.4984, allocations: 111.9 kB / 1.093 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.4991, allocations: 387.1 kB / 1.094 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.4997, allocations: 315.6 kB / 1.094 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4999, allocations: 126.6 kB / 1.094 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.4999, allocations: 3.938 kB / 1.094 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.5005, allocations: 283.2 kB / 1.094 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.5005, allocations: 0 / 1.094 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.00111/0.5016, allocations: 0.4971 MB / 1.095 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.5017, allocations: 114.8 kB / 1.095 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.5024, allocations: 400.4 kB / 1.095 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.536e-05/0.5025, allocations: 41.7 kB / 1.095 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.5027, allocations: 148.8 kB / 1.096 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.5028, allocations: 47.47 kB / 1.096 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.5029, allocations: 33.7 kB / 1.096 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002437/0.5031, allocations: 338.8 kB / 1.096 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.5033, allocations: 87.95 kB / 1.096 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.504, allocations: 471.5 kB / 1.097 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004509/0.5045, allocations: 265.4 kB / 1.097 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5045, allocations: 0 / 1.097 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006616/0.5051, allocations: 332.8 kB / 1.097 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5052, allocations: 8 kB / 1.097 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.5052, allocations: 4 kB / 1.097 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.5052, allocations: 4 kB / 1.097 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.5055, allocations: 27.92 kB / 1.097 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.5055, allocations: 7.938 kB / 1.097 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/0.5063, allocations: 82.56 kB / 1.097 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.5063, allocations: 11.98 kB / 1.097 GB, free: 0.5781 MB / 0.8419 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.0002775/0.5066, allocations: 191.9 kB / 1.097 GB, free: 392 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.5067, allocations: 35.78 kB / 1.097 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.5068, allocations: 41.88 kB / 1.098 GB, free: 316 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.5068, allocations: 4 kB / 1.098 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5068, allocations: 0 / 1.098 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5068, allocations: 0 / 1.098 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.5072, allocations: 285.5 kB / 1.098 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5072, allocations: 0 / 1.098 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.5072, allocations: 7.938 kB / 1.098 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5073, allocations: 0 / 1.098 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.5073, allocations: 11.98 kB / 1.098 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.5073, allocations: 7.938 kB / 1.098 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5073, allocations: 4.062 kB / 1.098 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.508, allocations: 432.5 kB / 1.098 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.5081, allocations: 116.7 kB / 1.098 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.5082, allocations: 8 kB / 1.098 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.5083, allocations: 3.984 kB / 1.098 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.5083, allocations: 15.98 kB / 1.098 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.5084, allocations: 20 kB / 1.098 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000438/0.5088, allocations: 287 kB / 1.099 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5088, allocations: 3.938 kB / 1.099 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004696/0.5093, allocations: 79.98 kB / 1.099 GB, free: 14.96 MB / 0.8575 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.0003873/0.5097, allocations: 135.2 kB / 1.099 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.5103, allocations: 256.1 kB / 1.099 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5103, allocations: 0 / 1.099 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.5105, allocations: 151.9 kB / 1.099 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.5109, allocations: 28.52 kB / 1.099 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5121, allocations: 0.6268 MB / 1.1 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.5126, allocations: 0.7599 MB / 1.101 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.5128, allocations: 57.81 kB / 1.101 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.5129, allocations: 27.44 kB / 1.101 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.5129, allocations: 0 / 1.101 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of Templates: time 0.01154/0.5245, allocations: 4.766 MB / 1.105 GB, free: 8.145 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches