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.002273/0.002273, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.002831/0.002831, allocations: 185.2 kB / 17.35 MB, free: 5.633 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.17 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.643/2.643, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.097, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002969/1.1, allocations: 0.8658 MB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002722/1.103, allocations: 1.45 MB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/1.103, allocations: 7.938 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006146/1.104, allocations: 199.5 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/1.104, allocations: 115.6 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/1.106, allocations: 358 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001456/1.107, allocations: 0.8854 MB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/1.107, allocations: 96.25 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/1.108, allocations: 347.3 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006312/1.109, allocations: 259.3 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003444/1.109, allocations: 44 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000568/1.11, allocations: 115.9 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006315/1.11, allocations: 343.2 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007156/1.111, allocations: 274.8 kB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/1.113, allocations: 0.9054 MB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/1.113, allocations: 4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.765e-06/1.113, allocations: 3.938 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.617e-05/1.113, allocations: 0 / 1.173 GB, free: 13.61 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.002728/1.115, allocations: 0.8841 MB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.72e-05/1.116, allocations: 8.922 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/1.116, allocations: 56.38 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.117, allocations: 0.541 MB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/1.117, allocations: 32.53 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/1.117, allocations: 36.38 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/1.118, allocations: 302.2 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.118, allocations: 192 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/1.118, allocations: 7.938 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.118, allocations: 4 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/1.118, allocations: 223.8 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/1.121, allocations: 1.184 MB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/1.122, allocations: 471.7 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/1.122, allocations: 174.6 kB / 1.177 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/1.122, allocations: 3.984 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/1.122, allocations: 338.3 kB / 1.178 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/1.122, allocations: 0 / 1.178 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001131/1.123, allocations: 0.618 MB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/1.124, allocations: 126.7 kB / 1.178 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/1.124, allocations: 0.5916 MB / 1.179 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.125, allocations: 41.7 kB / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/1.125, allocations: 225.4 kB / 1.179 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/1.125, allocations: 51.34 kB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/1.125, allocations: 185.5 kB / 1.179 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.125, allocations: 366.8 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.126, allocations: 124.5 kB / 1.18 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/1.127, allocations: 0.7149 MB / 1.18 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/1.127, allocations: 304.4 kB / 1.181 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.127, allocations: 3.938 kB / 1.181 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007901/1.128, allocations: 420.8 kB / 1.181 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.128, allocations: 11.98 kB / 1.181 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.128, allocations: 384 / 1.181 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.128, allocations: 12 kB / 1.181 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/1.128, allocations: 35.86 kB / 1.181 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.128, allocations: 11.94 kB / 1.181 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.13, allocations: 116.2 kB / 1.181 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/1.13, allocations: 16 kB / 1.181 GB, free: 4.926 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.0004311/1.13, allocations: 265.6 kB / 1.182 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/1.13, allocations: 39.53 kB / 1.182 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.906e-05/1.13, allocations: 47.36 kB / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.13, allocations: 0 / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.13, allocations: 7.938 kB / 1.182 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/1.13, allocations: 132.5 kB / 1.182 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/1.131, allocations: 8 kB / 1.182 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/1.131, allocations: 19.97 kB / 1.182 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.131, allocations: 35.95 kB / 1.182 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008683/1.132, allocations: 0.6867 MB / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008581/1.133, allocations: 0.8075 MB / 1.183 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002455/1.133, allocations: 176.2 kB / 1.184 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005334/1.133, allocations: 435.1 kB / 1.184 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of Backend: time 1.192e-06/1.133, allocations: 0 / 1.184 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.135, allocations: 311.3 kB / 1.184 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001598/1.136, allocations: 1.127 MB / 1.185 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.01739/1.154, allocations: 8.203 MB / 1.193 GB, free: 8.637 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/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