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.001492/0.001492, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.567/1.567, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.182/3.182, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 68.66 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4077, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002062/0.4098, allocations: 0.675 MB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.4118, allocations: 1.355 MB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.4118, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.4124, allocations: 187.5 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.4125, allocations: 103.7 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.4132, allocations: 223.1 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.4138, allocations: 479.8 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.4138, allocations: 15.97 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.414, allocations: 203.6 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.4144, allocations: 207.6 kB / 1.072 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.351e-05/0.4145, allocations: 24 kB / 1.072 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.4147, allocations: 79.94 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.4151, allocations: 251.5 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.4153, allocations: 159.3 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.4158, allocations: 471 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4158, allocations: 3.938 kB / 1.073 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4158, allocations: 0 / 1.073 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4158, allocations: 4 kB / 1.073 GB, free: 6.012 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.001029/0.4168, allocations: 0.6345 MB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4169, allocations: 8.031 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.4171, allocations: 36.64 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.4176, allocations: 384 kB / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.4176, allocations: 12.38 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.4177, allocations: 20.38 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.418, allocations: 192.6 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4181, allocations: 192 / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4181, allocations: 3.938 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4181, allocations: 4 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.4183, allocations: 103.9 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.4188, allocations: 387.1 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.4192, allocations: 315.7 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.4194, allocations: 130.4 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.4194, allocations: 0 / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.4199, allocations: 281.6 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.4199, allocations: 0 / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008146/0.4207, allocations: 0.4971 MB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.4208, allocations: 110.8 kB / 1.076 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.4213, allocations: 396.5 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.4214, allocations: 41.69 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4216, allocations: 152.7 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.4216, allocations: 51.47 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.4218, allocations: 117.6 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.422, allocations: 338.8 kB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4221, allocations: 87.95 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.4227, allocations: 473.4 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.423, allocations: 253.5 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.423, allocations: 0 / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004885/0.4235, allocations: 337 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4236, allocations: 9.406 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4236, allocations: 4 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4236, allocations: 4.234 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4238, allocations: 35.84 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4238, allocations: 4 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.4245, allocations: 72.56 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4245, allocations: 16.12 kB / 1.078 GB, free: 128 kB / 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 (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.0002197/0.4248, allocations: 191.9 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4248, allocations: 31.66 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.4249, allocations: 29.89 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4249, allocations: 4 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4249, allocations: 0 / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4249, allocations: 7.984 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.4253, allocations: 285.4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4253, allocations: 0 / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.4253, allocations: 15.86 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4253, allocations: 7.938 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4254, allocations: 12 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4254, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4254, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.4259, allocations: 434.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.426, allocations: 100.8 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.426, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.4261, allocations: 7.984 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.4262, allocations: 19.92 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.4262, allocations: 12 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003025/0.4265, allocations: 291 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4265, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003736/0.4269, allocations: 83.98 kB / 1.079 GB, free: 14.52 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.0002588/0.4272, allocations: 135.7 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.4277, allocations: 263.6 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4277, allocations: 4.812 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.4279, allocations: 143.9 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.4282, allocations: 40.08 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.4291, allocations: 0.5702 MB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4295, allocations: 0.7712 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.4296, allocations: 50.12 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.4297, allocations: 35.42 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.4297, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.009424/0.4392, allocations: 4.979 MB / 1.086 GB, free: 7.523 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