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.001476/0.001475, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001311/0.001311, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.483/1.483, allocations: 222.9 MB / 241.1 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.55/2.55, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 67.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.14, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.003205/1.143, allocations: 0.8698 MB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002751/1.146, allocations: 1.454 MB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/1.146, allocations: 4 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/1.146, allocations: 187.5 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/1.147, allocations: 119.6 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/1.148, allocations: 357.7 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001093/1.149, allocations: 0.8853 MB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/1.149, allocations: 96.19 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/1.15, allocations: 355.4 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/1.15, allocations: 259.3 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/1.15, allocations: 44 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/1.151, allocations: 99.95 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005774/1.151, allocations: 347.2 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/1.152, allocations: 278.8 kB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/1.153, allocations: 0.9117 MB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.153, allocations: 4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.154e-06/1.153, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.153, 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.001978/1.155, allocations: 0.9072 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/1.155, allocations: 8.625 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/1.155, allocations: 52.66 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/1.156, allocations: 0.5414 MB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/1.156, allocations: 24.61 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.156, allocations: 40.31 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/1.157, allocations: 302.2 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.157, allocations: 4.188 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/1.157, allocations: 7.938 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.157, allocations: 4 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/1.157, allocations: 219.8 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/1.159, allocations: 1.188 MB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/1.16, allocations: 471.7 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/1.161, allocations: 182.6 kB / 1.177 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/1.161, allocations: 4 kB / 1.177 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005193/1.161, allocations: 325.1 kB / 1.178 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.935e-06/1.161, allocations: 4 kB / 1.178 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001215/1.162, allocations: 0.6305 MB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/1.162, allocations: 122.7 kB / 1.178 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/1.163, allocations: 0.5955 MB / 1.179 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.163, allocations: 49.69 kB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/1.164, allocations: 217.5 kB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/1.164, allocations: 55.58 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/1.164, allocations: 185.5 kB / 1.179 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.164, allocations: 362.8 kB / 1.18 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.164, allocations: 131.8 kB / 1.18 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/1.165, allocations: 0.7113 MB / 1.181 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/1.166, allocations: 300.3 kB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.166, allocations: 4 kB / 1.181 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007508/1.167, allocations: 420.9 kB / 1.181 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.167, allocations: 8 kB / 1.181 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.167, allocations: 4 kB / 1.181 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-05/1.167, allocations: 4 kB / 1.181 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/1.167, allocations: 32.3 kB / 1.181 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.167, allocations: 11.94 kB / 1.181 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.168, allocations: 133.4 kB / 1.181 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.168, allocations: 16 kB / 1.181 GB, free: 4.898 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.0004026/1.169, allocations: 257.6 kB / 1.182 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/1.169, allocations: 47.7 kB / 1.182 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/1.169, allocations: 47.38 kB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.169, allocations: 0 / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.169, allocations: 3.938 kB / 1.182 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/1.169, allocations: 140.7 kB / 1.182 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/1.169, allocations: 7.984 kB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/1.169, allocations: 19.98 kB / 1.182 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.169, allocations: 27.97 kB / 1.182 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008384/1.17, allocations: 0.6909 MB / 1.183 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008604/1.171, allocations: 0.8017 MB / 1.183 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000235/1.171, allocations: 187.8 kB / 1.184 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005077/1.172, allocations: 435.1 kB / 1.184 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of Backend: time 5e-07/1.172, allocations: 0 / 1.184 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001125/1.173, allocations: 312.2 kB / 1.184 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00148/1.175, allocations: 1.131 MB / 1.185 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of Templates: time 0.01508/1.19, allocations: 8.21 MB / 1.193 GB, free: 8.59 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