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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009154/0.0009154, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0009341/0.0009342, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB 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: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.896/2.896, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 11.69 kB / 0.9022 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4013, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001085/0.4025, allocations: 397.8 kB / 1.058 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4046, allocations: 1.322 MB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.4046, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.4052, allocations: 195.6 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.4054, allocations: 95.73 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.406, allocations: 211.7 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.4066, allocations: 379.8 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.4066, allocations: 4 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.4069, allocations: 195.6 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.4072, allocations: 187.6 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.4073, allocations: 12 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.4075, allocations: 63.94 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.4079, allocations: 247.5 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.4079, allocations: 61.58 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.4083, allocations: 351.5 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4084, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4084, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4084, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 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.0008941/0.4093, allocations: 0.5292 MB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4093, allocations: 8.031 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.4095, allocations: 31.72 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.41, allocations: 367 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4101, allocations: 19.95 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.4101, allocations: 23.98 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.4105, allocations: 184.1 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4105, allocations: 3.938 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.4105, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4105, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.4107, allocations: 115.9 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.4112, allocations: 379.2 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.4117, allocations: 327.6 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.4118, allocations: 126.5 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.4119, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004972/0.4124, allocations: 281.6 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 2.975e-06/0.4124, allocations: 3.938 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009471/0.4133, allocations: 0.497 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.4134, allocations: 106.8 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.4139, allocations: 396.5 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.4139, allocations: 45.69 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.4141, allocations: 153.1 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.4142, allocations: 43.53 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.4142, allocations: 4 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4144, allocations: 346.8 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4145, allocations: 79.95 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.415, allocations: 463 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.4153, allocations: 127.8 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4153, allocations: 3.953 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000485/0.4158, allocations: 332.8 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4158, allocations: 4.406 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4158, allocations: 8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4159, allocations: 8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.416, allocations: 31.92 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4161, allocations: 4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.4167, allocations: 79.92 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.4168, allocations: 16 kB / 1.067 GB, free: 12.16 MB / 0.8262 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.417, allocations: 203.9 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.4171, allocations: 27.67 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.4171, allocations: 37.83 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4171, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.4171, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4172, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.4174, allocations: 285.4 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4175, allocations: 8 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.4175, allocations: 3.953 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4175, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4175, allocations: 7.984 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4175, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4175, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.4181, allocations: 434.3 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4182, allocations: 116.7 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.4183, allocations: 7.938 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.4184, allocations: 8.234 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.4184, allocations: 11.98 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.4185, allocations: 15.98 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003465/0.4188, allocations: 287 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4188, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003942/0.4192, allocations: 79.98 kB / 1.068 GB, free: 10.55 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002784/0.4195, allocations: 147.1 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.42, allocations: 251.7 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.42, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4202, allocations: 149.5 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.4205, allocations: 31.03 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009213/0.4215, allocations: 0.5929 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.4219, allocations: 0.7638 MB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.422, allocations: 46.31 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.4221, allocations: 27.44 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4221, allocations: 4 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.00975/0.4319, allocations: 4.608 MB / 1.074 GB, free: 3.91 MB / 0.8262 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=480 -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