Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001882/0.001883, allocations: 193.8 kB / 16.14 MB, free: 6.637 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.584/1.584, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.841/2.841, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8331, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002599/0.8357, allocations: 0.924 MB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.8381, allocations: 1.459 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.8382, allocations: 4 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.8388, allocations: 191.5 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.839, allocations: 103.7 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/0.8399, allocations: 327.3 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009279/0.8409, allocations: 0.7605 MB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.8411, allocations: 104.2 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.8414, allocations: 295.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.8418, allocations: 247.3 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.8419, allocations: 16 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.8422, allocations: 87.88 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.8427, allocations: 303.3 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.843, allocations: 246.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009907/0.844, allocations: 0.8706 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.844, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.844, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.844, allocations: 0 / 1.022 GB, free: 12.84 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001791/0.8458, allocations: 0.8957 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8459, allocations: 11.98 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.8461, allocations: 52.38 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008691/0.847, allocations: 0.541 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.847, allocations: 28.59 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.8472, allocations: 36.38 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.8477, allocations: 303.8 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.8477, allocations: 4.188 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.8478, allocations: 7.938 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.8478, allocations: 7.938 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.8481, allocations: 219.8 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.8503, allocations: 1.187 MB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.851, allocations: 475.8 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.8513, allocations: 186.5 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.8513, allocations: 0 / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.8519, allocations: 325.7 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.8519, allocations: 0 / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001192/0.8531, allocations: 0.6218 MB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.8532, allocations: 126.7 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.854, allocations: 0.5916 MB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/0.8541, allocations: 45.69 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.8544, allocations: 230.5 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.8545, allocations: 47.45 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.8548, allocations: 181.5 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002391/0.855, allocations: 366.8 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.8552, allocations: 123.9 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.8562, allocations: 0.711 MB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.8567, allocations: 304.6 kB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8567, allocations: 0 / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007422/0.8574, allocations: 424.8 kB / 1.03 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.8575, allocations: 10.31 kB / 1.03 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.8575, allocations: 4 kB / 1.03 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.8575, allocations: 7.938 kB / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.8577, allocations: 35.86 kB / 1.03 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.8577, allocations: 8 kB / 1.03 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.8591, allocations: 131.8 kB / 1.03 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.8591, allocations: 20.19 kB / 1.03 GB, free: 4.141 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003552/0.8595, allocations: 257.7 kB / 1.031 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.8595, allocations: 39.53 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.8596, allocations: 59.3 kB / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8597, allocations: 4 kB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8597, allocations: 0 / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.8597, allocations: 4 kB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.8602, allocations: 413.1 kB / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8602, allocations: 0 / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.8602, allocations: 4 kB / 1.031 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.8602, allocations: 0 / 1.031 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.8603, allocations: 15.92 kB / 1.031 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8603, allocations: 4 kB / 1.031 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8603, allocations: 4 kB / 1.031 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.861, allocations: 0.507 MB / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.8612, allocations: 128.6 kB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.8612, allocations: 11.92 kB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.8614, allocations: 19.92 kB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.8615, allocations: 35.95 kB / 1.032 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.8616, allocations: 12 kB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005382/0.8621, allocations: 431.1 kB / 1.032 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8621, allocations: 0 / 1.032 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004736/0.8626, allocations: 111.9 kB / 1.032 GB, free: 2.012 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003768/0.863, allocations: 153.9 kB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006232/0.8636, allocations: 347.5 kB / 1.033 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8636, allocations: 0 / 1.033 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.8639, allocations: 195.8 kB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.8642, allocations: 29.97 kB / 1.033 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.8657, allocations: 0.9257 MB / 1.034 GB, free: 340 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.8663, allocations: 0.8391 MB / 1.035 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002612/0.8666, allocations: 98.86 kB / 1.035 GB, free: 15.37 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.8667, allocations: 35.44 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.8667, allocations: 0 / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of Templates: time 0.01629/0.883, allocations: 7.658 MB / 1.042 GB, free: 7.762 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches