Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.00127/0.00127, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.001632/0.001632, allocations: 186.2 kB / 17.34 MB, free: 5.625 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.84 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.077, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.00259/1.08, allocations: 0.8545 MB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002428/1.082, allocations: 1.456 MB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/1.083, allocations: 0 / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/1.083, allocations: 203.4 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/1.083, allocations: 107.7 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/1.085, allocations: 365.4 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001077/1.086, allocations: 0.8777 MB / 1.23 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/1.086, allocations: 104.1 kB / 1.23 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/1.087, allocations: 343.4 kB / 1.231 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005461/1.087, allocations: 263.3 kB / 1.231 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002656/1.087, allocations: 48 kB / 1.231 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/1.088, allocations: 111.9 kB / 1.231 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005206/1.088, allocations: 343.3 kB / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/1.089, allocations: 270.8 kB / 1.232 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/1.09, allocations: 0.9156 MB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.09, allocations: 0 / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.913e-06/1.09, allocations: 4 kB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.015e-05/1.09, allocations: 0 / 1.232 GB, free: 7.246 MB / 0.9512 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.002264/1.092, allocations: 0.9072 MB / 1.233 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.092, allocations: 11.97 kB / 1.233 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/1.093, allocations: 52.66 kB / 1.233 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/1.094, allocations: 0.5452 MB / 1.234 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/1.094, allocations: 28.59 kB / 1.234 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.094, allocations: 32.38 kB / 1.234 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/1.094, allocations: 306.2 kB / 1.234 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.094, allocations: 192 / 1.234 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/1.094, allocations: 11.94 kB / 1.234 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.094, allocations: 3.984 kB / 1.234 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/1.095, allocations: 223.8 kB / 1.234 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/1.097, allocations: 1.184 MB / 1.236 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/1.097, allocations: 467.7 kB / 1.236 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/1.098, allocations: 182.6 kB / 1.236 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/1.098, allocations: 3.984 kB / 1.236 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/1.098, allocations: 336.1 kB / 1.237 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/1.098, allocations: 0 / 1.237 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24): time 0.0012/1.099, allocations: 0.626 MB / 1.237 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/1.099, allocations: 118.7 kB / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/1.1, allocations: 0.5955 MB / 1.238 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/1.1, allocations: 45.7 kB / 1.238 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/1.101, allocations: 217.5 kB / 1.238 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/1.101, allocations: 56.39 kB / 1.238 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/1.101, allocations: 185.5 kB / 1.238 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.101, allocations: 362.8 kB / 1.239 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/1.101, allocations: 123.9 kB / 1.239 GB, free: 400 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/1.102, allocations: 0.7137 MB / 1.24 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/1.103, allocations: 300.5 kB / 1.24 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.103, allocations: 0 / 1.24 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007002/1.103, allocations: 424.9 kB / 1.24 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.103, allocations: 15.92 kB / 1.24 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.103, allocations: 4 kB / 1.24 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.103, allocations: 4 kB / 1.24 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/1.104, allocations: 31.92 kB / 1.24 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/1.104, allocations: 8.312 kB / 1.24 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.105, allocations: 139.4 kB / 1.24 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/1.105, allocations: 12 kB / 1.24 GB, free: 14.53 MB / 0.9669 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.0003624/1.105, allocations: 262.2 kB / 1.241 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/1.105, allocations: 43.72 kB / 1.241 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/1.105, allocations: 55.36 kB / 1.241 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.105, allocations: 0 / 1.241 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.106, allocations: 3.938 kB / 1.241 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/1.106, allocations: 132.8 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/1.106, allocations: 4 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.106, allocations: 20.22 kB / 1.241 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/1.106, allocations: 31.97 kB / 1.241 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008143/1.107, allocations: 0.6945 MB / 1.242 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007885/1.108, allocations: 0.807 MB / 1.242 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002343/1.108, allocations: 175.9 kB / 1.243 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000521/1.108, allocations: 435.1 kB / 1.243 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of Backend: time 3.11e-07/1.108, allocations: 192 / 1.243 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.109, allocations: 314.3 kB / 1.243 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of SimCode: time 0.00135/1.111, allocations: 1.135 MB / 1.244 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of Templates: time 0.0164/1.127, allocations: 8.207 MB / 1.252 GB, free: 2.23 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches