Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001487/0.001488, allocations: 192 kB / 17.34 MB, free: 5.715 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.597/1.597, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.83/2.83, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9789/0.9809, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002161/0.9831, allocations: 0.8714 MB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.9853, allocations: 1.462 MB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.9854, allocations: 3.938 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.9859, allocations: 191.5 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.9861, allocations: 123.6 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.9872, allocations: 357.8 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.9882, allocations: 0.8775 MB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.9885, allocations: 96.22 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.9889, allocations: 343.4 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.9893, allocations: 267.3 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.9894, allocations: 48 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.9897, allocations: 103.9 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.9901, allocations: 347.2 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.9905, allocations: 270.8 kB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009986/0.9915, allocations: 0.9118 MB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.9915, allocations: 4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9915, allocations: 3.938 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.9915, allocations: 4 kB / 1.173 GB, free: 13.6 MB / 0.9044 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.00173/0.9933, allocations: 0.9033 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.9933, allocations: 12.92 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.9936, allocations: 56.66 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.9945, allocations: 0.5375 MB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.9946, allocations: 28.59 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.9947, allocations: 32.38 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.9952, allocations: 310.2 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.9953, allocations: 4.125 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.9953, allocations: 11.94 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9953, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.9957, allocations: 223.8 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.9979, allocations: 1.184 MB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/0.9987, allocations: 467.7 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.999, allocations: 174.6 kB / 1.177 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.999, allocations: 7.984 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005197/0.9995, allocations: 329.1 kB / 1.178 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.9995, allocations: 4 kB / 1.178 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001229/1.001, allocations: 0.6221 MB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.001, allocations: 126.7 kB / 1.178 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/1.002, allocations: 0.5955 MB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.002, allocations: 45.7 kB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/1.002, allocations: 217.5 kB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/1.002, allocations: 59.58 kB / 1.179 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/1.003, allocations: 181.5 kB / 1.179 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002348/1.003, allocations: 370.8 kB / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/1.003, allocations: 123.8 kB / 1.18 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/1.004, allocations: 0.711 MB / 1.181 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/1.004, allocations: 308.3 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.004, allocations: 0.75 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007548/1.005, allocations: 421 kB / 1.181 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.005, allocations: 11.98 kB / 1.181 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.005, allocations: 4 kB / 1.181 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.005, allocations: 4 kB / 1.181 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/1.005, allocations: 35.86 kB / 1.181 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.005, allocations: 4.234 kB / 1.181 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.007, allocations: 132 kB / 1.181 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.007, allocations: 16 kB / 1.181 GB, free: 4.895 MB / 0.9044 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.0004127/1.007, allocations: 261.9 kB / 1.182 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/1.007, allocations: 43.72 kB / 1.182 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/1.007, allocations: 51.36 kB / 1.182 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.007, allocations: 11.88 kB / 1.182 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.007, allocations: 4 kB / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.007, allocations: 0 / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/1.008, allocations: 417.2 kB / 1.182 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.008, allocations: 0 / 1.182 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/1.008, allocations: 4 kB / 1.182 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.008, allocations: 4 kB / 1.182 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/1.008, allocations: 15.98 kB / 1.182 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.008, allocations: 3.938 kB / 1.182 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.008, allocations: 0 / 1.182 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/1.009, allocations: 0.5139 MB / 1.183 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/1.009, allocations: 128.9 kB / 1.183 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/1.009, allocations: 4 kB / 1.183 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/1.009, allocations: 23.92 kB / 1.183 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/1.009, allocations: 27.97 kB / 1.183 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/1.009, allocations: 15.98 kB / 1.183 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006412/1.01, allocations: 435.1 kB / 1.183 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.01, allocations: 3.938 kB / 1.183 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005772/1.011, allocations: 111.8 kB / 1.183 GB, free: 2.746 MB / 0.9044 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.0003113/1.011, allocations: 149.4 kB / 1.184 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006499/1.012, allocations: 355.6 kB / 1.184 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.012, allocations: 0 / 1.184 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/1.012, allocations: 187.8 kB / 1.184 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/1.012, allocations: 35.27 kB / 1.184 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/1.014, allocations: 0.8384 MB / 1.185 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/1.014, allocations: 0.835 MB / 1.186 GB, free: 300 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003066/1.015, allocations: 102 kB / 1.186 GB, free: 200 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/1.015, allocations: 31.44 kB / 1.186 GB, free: 168 kB / 0.9044 GB Notification: Performance of SimCode: time 2.725e-06/1.015, allocations: 4 kB / 1.186 GB, free: 164 kB / 0.9044 GB Notification: Performance of Templates: time 0.01743/1.032, allocations: 7.995 MB / 1.194 GB, free: 8.258 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches