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.001051/0.001051, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01027/0.01027, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.616/1.616, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.184/3.184, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 9.688 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4543, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0009901/0.4554, allocations: 415.7 kB / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.4574, allocations: 1.349 MB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.4574, allocations: 0 / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.4579, allocations: 187.6 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.4581, allocations: 95.73 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.4587, allocations: 211.1 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.4593, allocations: 435.8 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.4593, allocations: 11.92 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.4595, allocations: 187.6 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.4599, allocations: 199.6 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.4599, allocations: 12 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.4601, allocations: 67.94 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.4605, allocations: 243.5 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.4606, allocations: 169 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.4611, allocations: 455 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4612, allocations: 0 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4612, allocations: 0 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4612, allocations: 4 kB / 1.078 GB, free: 3.523 MB / 0.8262 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.0009031/0.4621, allocations: 0.5216 MB / 1.079 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4621, allocations: 16.02 kB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.4622, allocations: 28.66 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.4628, allocations: 384 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.4628, allocations: 12.38 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.4629, allocations: 20.38 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.4632, allocations: 192.7 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4633, allocations: 4.188 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.4633, allocations: 7.875 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4633, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.4635, allocations: 111.9 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.464, allocations: 387.1 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.4645, allocations: 311.6 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.4647, allocations: 130.5 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.4647, allocations: 0 / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000526/0.4653, allocations: 289.6 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.4653, allocations: 0 / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.000895/0.4662, allocations: 0.4976 MB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.4663, allocations: 114.8 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.4669, allocations: 400.4 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.4669, allocations: 41.7 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4671, allocations: 148.8 kB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.4672, allocations: 43.48 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.4672, allocations: 33.7 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4674, allocations: 342.8 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.4676, allocations: 91.95 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.4682, allocations: 463.3 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.4685, allocations: 257.4 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4686, allocations: 4 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005205/0.4691, allocations: 328.8 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.4691, allocations: 8 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4691, allocations: 4.078 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.4692, allocations: 4.406 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.4694, allocations: 31.92 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.4694, allocations: 11.92 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.4702, allocations: 86.27 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.4702, allocations: 8 kB / 1.083 GB, free: 13.82 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.0003119/0.4705, allocations: 199.9 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4706, allocations: 31.56 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.4706, allocations: 33.89 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4707, allocations: 4 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.4707, allocations: 0 / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4707, allocations: 0 / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.4711, allocations: 285.5 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.4711, allocations: 0 / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.4711, allocations: 7.938 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4711, allocations: 8.062 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.4712, allocations: 15.98 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4712, allocations: 7.938 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4712, allocations: 0 / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.4718, allocations: 422.3 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.472, allocations: 116.9 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.472, allocations: 15.98 kB / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.4721, allocations: 0 / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.4722, allocations: 19.97 kB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.4722, allocations: 23.92 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003445/0.4726, allocations: 287 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4726, allocations: 0 / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004083/0.473, allocations: 76 kB / 1.085 GB, free: 12.2 MB / 0.8419 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.000344/0.4734, allocations: 143.1 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.4739, allocations: 251.6 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4739, allocations: 0 / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4741, allocations: 147.9 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.4745, allocations: 25.39 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4756, allocations: 0.6176 MB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.4761, allocations: 0.7716 MB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.4762, allocations: 45.94 kB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.4763, allocations: 31.42 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4763, allocations: 0 / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.01038/0.4867, allocations: 4.779 MB / 1.091 GB, free: 5.375 MB / 0.8419 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