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.007772/0.007772, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001726/0.001727, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.747/2.747, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.12 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22/1.222, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.00262/1.224, allocations: 0.8634 MB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002441/1.227, allocations: 1.462 MB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/1.227, allocations: 3.938 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006366/1.228, allocations: 195.5 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/1.228, allocations: 119.6 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/1.229, allocations: 354.7 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00126/1.231, allocations: 0.8853 MB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/1.231, allocations: 88.25 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/1.231, allocations: 351.4 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/1.232, allocations: 267.2 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/1.232, allocations: 44 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/1.233, allocations: 103.9 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000495/1.233, allocations: 347.2 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005146/1.234, allocations: 270.8 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/1.235, allocations: 0.9157 MB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.235, allocations: 3.938 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.507e-06/1.235, allocations: 4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.485e-05/1.235, allocations: 0 / 1.173 GB, free: 13.59 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.002488/1.237, allocations: 0.9072 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.238, allocations: 8.922 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/1.238, allocations: 52.66 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/1.239, allocations: 0.5375 MB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/1.239, allocations: 28.61 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/1.239, allocations: 36.36 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/1.24, allocations: 310.2 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.24, allocations: 4.188 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/1.24, allocations: 7.938 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.24, allocations: 4 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/1.24, allocations: 219.8 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/1.243, allocations: 1.191 MB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/1.243, allocations: 463.7 kB / 1.176 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/1.244, allocations: 174.6 kB / 1.177 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/1.244, allocations: 8 kB / 1.177 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/1.244, allocations: 335.4 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.354e-06/1.244, allocations: 0 / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001265/1.246, allocations: 0.6227 MB / 1.177 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/1.246, allocations: 122.9 kB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/1.247, allocations: 0.5955 MB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/1.247, allocations: 49.64 kB / 1.178 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/1.247, allocations: 213.5 kB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/1.247, allocations: 59.58 kB / 1.178 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/1.247, allocations: 185.5 kB / 1.179 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.248, allocations: 366.8 kB / 1.179 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/1.248, allocations: 127.8 kB / 1.179 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009865/1.249, allocations: 0.711 MB / 1.18 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/1.249, allocations: 304.3 kB / 1.18 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.249, allocations: 4 kB / 1.18 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007828/1.25, allocations: 421 kB / 1.181 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.25, allocations: 4 kB / 1.181 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.25, allocations: 4 kB / 1.181 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.25, allocations: 4 kB / 1.181 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/1.25, allocations: 39.84 kB / 1.181 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.25, allocations: 4.375 kB / 1.181 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/1.252, allocations: 135.8 kB / 1.181 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/1.252, allocations: 12 kB / 1.181 GB, free: 4.879 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.0004189/1.252, allocations: 261.6 kB / 1.181 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/1.252, allocations: 43.66 kB / 1.181 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/1.252, allocations: 55.61 kB / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/1.252, allocations: 7.938 kB / 1.181 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.252, allocations: 4 kB / 1.181 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.252, allocations: 0 / 1.181 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/1.253, allocations: 413.2 kB / 1.181 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.253, allocations: 4 kB / 1.181 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/1.253, allocations: 4 kB / 1.181 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.253, allocations: 4 kB / 1.181 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/1.253, allocations: 11.98 kB / 1.181 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/1.253, allocations: 3.938 kB / 1.181 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.253, allocations: 7.938 kB / 1.181 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/1.254, allocations: 0.5161 MB / 1.182 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/1.254, allocations: 120.9 kB / 1.182 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/1.254, allocations: 12 kB / 1.182 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/1.254, allocations: 19.92 kB / 1.182 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.254, allocations: 27.97 kB / 1.182 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/1.255, allocations: 15.98 kB / 1.182 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005735/1.255, allocations: 439 kB / 1.183 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.8e-07/1.255, allocations: 0 / 1.183 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005706/1.256, allocations: 111.8 kB / 1.183 GB, free: 2.73 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.0003248/1.256, allocations: 149.3 kB / 1.183 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006549/1.257, allocations: 359.5 kB / 1.183 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.257, allocations: 0 / 1.183 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/1.257, allocations: 187.9 kB / 1.183 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/1.257, allocations: 42.06 kB / 1.183 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.259, allocations: 0.8403 MB / 1.184 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/1.26, allocations: 0.8311 MB / 1.185 GB, free: 276 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000319/1.26, allocations: 90.94 kB / 1.185 GB, free: 184 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.26, allocations: 39.42 kB / 1.185 GB, free: 144 kB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/1.26, allocations: 0 / 1.185 GB, free: 144 kB / 0.9044 GB Notification: Performance of Templates: time 0.01791/1.278, allocations: 7.991 MB / 1.193 GB, free: 8.238 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 -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/jenkins/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