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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.392/2.392, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001816, allocations: 182 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.726/1.726, allocations: 223.2 MB / 0.7992 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 104.2 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004611, allocations: 9.344 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.349, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.5474, allocations: 150.1 MB / 1.376 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5477, allocations: 71.94 kB / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06247/0.6102, allocations: 21.36 MB / 1.397 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6102, allocations: 0 / 1.397 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.6102, allocations: 4 kB / 1.397 GB, free: 9.637 MB / 0.9011 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.001194/0.6114, allocations: 0.5413 MB / 1.397 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6115, allocations: 16.45 kB / 1.397 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.6117, allocations: 35.66 kB / 1.397 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.6124, allocations: 383.2 kB / 1.398 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.6125, allocations: 12 kB / 1.398 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.882e-05/0.6126, allocations: 20 kB / 1.398 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.6129, allocations: 192.1 kB / 1.398 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6129, allocations: 4 kB / 1.398 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.613, allocations: 3.984 kB / 1.398 GB, free: 8.336 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.613, allocations: 7.938 kB / 1.398 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.6131, allocations: 111.9 kB / 1.398 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.6136, allocations: 387.1 kB / 1.398 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.6141, allocations: 323.8 kB / 1.399 GB, free: 7.441 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.6141, allocations: 8 kB / 1.399 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/0.6146, allocations: 278.9 kB / 1.399 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.6146, allocations: 0 / 1.399 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0008694/0.6154, allocations: 0.5087 MB / 1.4 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.6155, allocations: 114.8 kB / 1.4 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.616, allocations: 359.7 kB / 1.4 GB, free: 6.129 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/0.6161, allocations: 33.7 kB / 1.4 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.6162, allocations: 157.6 kB / 1.4 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.6163, allocations: 47.45 kB / 1.4 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.6163, allocations: 0 / 1.4 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6165, allocations: 354.8 kB / 1.401 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.6166, allocations: 79.95 kB / 1.401 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.6172, allocations: 478.3 kB / 1.401 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.6174, allocations: 132 kB / 1.401 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6174, allocations: 4 kB / 1.401 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005565/0.618, allocations: 325.3 kB / 1.401 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.618, allocations: 12 kB / 1.402 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.618, allocations: 4 kB / 1.402 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.618, allocations: 4 kB / 1.402 GB, free: 4.367 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.6182, allocations: 39.91 kB / 1.402 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.6182, allocations: 4.125 kB / 1.402 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.6189, allocations: 52.08 kB / 1.402 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.619, allocations: 23.98 kB / 1.402 GB, free: 4.25 MB / 0.9011 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.0002533/0.6193, allocations: 200.1 kB / 1.402 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.6193, allocations: 27.62 kB / 1.402 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/0.6194, allocations: 33.89 kB / 1.402 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.6194, allocations: 7.938 kB / 1.402 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6194, allocations: 0 / 1.402 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.6194, allocations: 0 / 1.402 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.6198, allocations: 293.4 kB / 1.402 GB, free: 3.637 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6198, allocations: 0 / 1.402 GB, free: 3.637 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.6198, allocations: 7.984 kB / 1.402 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6198, allocations: 0 / 1.402 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.6198, allocations: 4 kB / 1.402 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6198, allocations: 4 kB / 1.402 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6198, allocations: 0 / 1.402 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.6205, allocations: 478.1 kB / 1.403 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.6206, allocations: 108.8 kB / 1.403 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.6207, allocations: 4 kB / 1.403 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.6208, allocations: 8.219 kB / 1.403 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.6208, allocations: 19.94 kB / 1.403 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.6209, allocations: 16 kB / 1.403 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003221/0.6212, allocations: 291 kB / 1.403 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6212, allocations: 0 / 1.403 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004741/0.6217, allocations: 83.94 kB / 1.403 GB, free: 2.578 MB / 0.9011 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.0003572/0.6221, allocations: 153.8 kB / 1.403 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.6226, allocations: 261.3 kB / 1.404 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6226, allocations: 4.25 kB / 1.404 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.6228, allocations: 151.9 kB / 1.404 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.623, allocations: 17.34 kB / 1.404 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.6241, allocations: 0.5929 MB / 1.404 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.6244, allocations: 0.7716 MB / 1.405 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.6246, allocations: 57.88 kB / 1.405 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.6247, allocations: 23.44 kB / 1.405 GB, free: 500 kB / 0.9011 GB Notification: Performance of SimCode: time 3.91e-07/0.6247, allocations: 3.938 kB / 1.405 GB, free: 496 kB / 0.9011 GB Notification: Performance of Templates: time 0.5888/1.214, allocations: 4.587 MB / 1.41 GB, free: 173.8 MB / 0.9011 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches