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.001131/0.001131, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001513/0.001513, allocations: 177.3 kB / 15.94 MB, free: 228 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.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.8764, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008538/0.8773, allocations: 407.4 kB / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.8789, allocations: 1.292 MB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.879, allocations: 4 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.8795, allocations: 179.6 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.8796, allocations: 107.8 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.8802, allocations: 206.2 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.8806, allocations: 292 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.8807, allocations: 7.984 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.8809, allocations: 195.6 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.8812, allocations: 179.6 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.8812, allocations: 8 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.8814, allocations: 63.94 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.8817, allocations: 243.5 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.8818, allocations: 61.58 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.8822, allocations: 353.2 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.8822, allocations: 0 / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8822, allocations: 0 / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8822, allocations: 0 / 1.024 GB, free: 13.55 MB / 0.7794 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.0008311/0.883, allocations: 0.5253 MB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8831, allocations: 8.031 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.421e-05/0.8832, allocations: 31.72 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.8838, allocations: 375 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.8838, allocations: 15.98 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.8839, allocations: 27.95 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.8842, allocations: 180.1 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8842, allocations: 3.984 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.8842, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8842, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.8844, allocations: 119.9 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.8848, allocations: 387.1 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.8852, allocations: 319.8 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-06/0.8852, allocations: 0 / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.8857, allocations: 287.7 kB / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.8857, allocations: 0 / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007528/0.8864, allocations: 0.4931 MB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.8865, allocations: 114.8 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.8869, allocations: 396.5 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.887, allocations: 37.7 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.8872, allocations: 153.1 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.8872, allocations: 43.5 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.8872, allocations: 12 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8874, allocations: 342.8 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.8875, allocations: 83.95 kB / 1.028 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.888, allocations: 463 kB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.8881, allocations: 127.9 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.8882, allocations: 11.98 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004263/0.8886, allocations: 316.9 kB / 1.029 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8886, allocations: 15.92 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8886, allocations: 4 kB / 1.029 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.8886, allocations: 4.406 kB / 1.029 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.8888, allocations: 35.92 kB / 1.029 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8888, allocations: 8 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/0.8895, allocations: 82.16 kB / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.8896, allocations: 8 kB / 1.029 GB, free: 8.215 MB / 0.7794 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.0002068/0.8898, allocations: 196 kB / 1.029 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.8898, allocations: 27.67 kB / 1.029 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.8899, allocations: 33.89 kB / 1.029 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.8899, allocations: 7.984 kB / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8899, allocations: 0 / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8899, allocations: 0 / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.8902, allocations: 289.4 kB / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8902, allocations: 0 / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.8902, allocations: 7.938 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8902, allocations: 4.234 kB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.8902, allocations: 11.95 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.8902, allocations: 7.984 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8902, allocations: 0 / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.8908, allocations: 460.1 kB / 1.03 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.8909, allocations: 120.7 kB / 1.03 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.8909, allocations: 8.062 kB / 1.03 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.891, allocations: 8 kB / 1.03 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.8911, allocations: 15.97 kB / 1.03 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.8911, allocations: 16 kB / 1.03 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002902/0.8914, allocations: 287 kB / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8914, allocations: 4 kB / 1.031 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00037/0.8918, allocations: 72 kB / 1.031 GB, free: 6.559 MB / 0.7794 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.0002279/0.892, allocations: 147.1 kB / 1.031 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.8925, allocations: 247.7 kB / 1.031 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8925, allocations: 0 / 1.031 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.8927, allocations: 148.7 kB / 1.031 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.8929, allocations: 29.16 kB / 1.031 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.8938, allocations: 0.5954 MB / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.8942, allocations: 0.7755 MB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.8943, allocations: 41.95 kB / 1.033 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.8944, allocations: 27.42 kB / 1.033 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of SimCode: time 1.874e-06/0.8944, allocations: 4 kB / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.009067/0.9035, allocations: 4.61 MB / 1.037 GB, free: 15.93 MB / 0.795 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