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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001232/0.001232, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001138/0.001138, allocations: 189.5 kB / 17.35 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.412/1.412, 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 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.84 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.108, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002884/1.111, allocations: 0.8593 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002717/1.114, allocations: 1.451 MB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/1.114, allocations: 7.938 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006947/1.115, allocations: 195.5 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002357/1.115, allocations: 111.6 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/1.117, allocations: 362.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001149/1.118, allocations: 0.8894 MB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/1.118, allocations: 84.27 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007022/1.119, allocations: 351.4 kB / 1.213 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/1.119, allocations: 267.3 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000308/1.12, allocations: 44 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/1.12, allocations: 104 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005791/1.121, allocations: 343.3 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005731/1.121, allocations: 278.8 kB / 1.214 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/1.122, allocations: 0.9054 MB / 1.215 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.122, allocations: 0 / 1.215 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/1.122, allocations: 0 / 1.215 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.359e-05/1.123, allocations: 0 / 1.215 GB, free: 7.402 MB / 0.9356 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.002296/1.125, allocations: 0.8997 MB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.125, allocations: 8.031 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/1.125, allocations: 56.38 kB / 1.215 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009704/1.126, allocations: 0.5448 MB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/1.126, allocations: 20.61 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.126, allocations: 36.38 kB / 1.216 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/1.127, allocations: 310.1 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/1.127, allocations: 4.188 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/1.127, allocations: 11.92 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/1.127, allocations: 4 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/1.127, allocations: 219.8 kB / 1.217 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/1.129, allocations: 1.18 MB / 1.218 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/1.13, allocations: 467.8 kB / 1.218 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/1.13, allocations: 182.5 kB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/1.13, allocations: 4 kB / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004728/1.131, allocations: 335.9 kB / 1.219 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 2.725e-06/1.131, allocations: 0 / 1.219 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001129/1.132, allocations: 0.6219 MB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/1.132, allocations: 126.7 kB / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/1.133, allocations: 0.5877 MB / 1.22 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.133, allocations: 49.69 kB / 1.22 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/1.133, allocations: 213.5 kB / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/1.133, allocations: 55.34 kB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.134, allocations: 185.5 kB / 1.22 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.134, allocations: 358.8 kB / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/1.134, allocations: 135.7 kB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/1.135, allocations: 0.7101 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/1.135, allocations: 293.4 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.135, allocations: 11.94 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007277/1.136, allocations: 429 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.136, allocations: 4 kB / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.136, allocations: 4 kB / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.136, allocations: 4 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/1.136, allocations: 35.86 kB / 1.222 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.136, allocations: 7.938 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.138, allocations: 137.3 kB / 1.222 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/1.138, allocations: 15.98 kB / 1.222 GB, free: 14.7 MB / 0.9512 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.0004335/1.138, allocations: 249.7 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/1.138, allocations: 39.52 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/1.138, allocations: 59.31 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.138, allocations: 0 / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.138, allocations: 7.922 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/1.138, allocations: 124.6 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/1.139, allocations: 11.98 kB / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/1.139, allocations: 15.98 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/1.139, allocations: 27.91 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008206/1.14, allocations: 0.6945 MB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007901/1.14, allocations: 0.8013 MB / 1.224 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002404/1.141, allocations: 179.8 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004905/1.141, allocations: 435.1 kB / 1.225 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of Backend: time 2.9e-07/1.141, allocations: 0 / 1.225 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.142, allocations: 321.8 kB / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001237/1.143, allocations: 1.115 MB / 1.226 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of Templates: time 0.01494/1.158, allocations: 8.405 MB / 1.235 GB, free: 2.238 MB / 0.9512 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