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.008133/0.008133, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001387/0.001387, allocations: 188.6 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.441/1.441, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.845/2.845, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.092, 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.001998/1.094, allocations: 0.8526 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001975/1.096, allocations: 1.462 MB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/1.096, allocations: 4 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005124/1.097, allocations: 195.4 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/1.097, allocations: 115.6 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/1.098, allocations: 359.3 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001007/1.099, allocations: 0.8815 MB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/1.099, allocations: 88.27 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/1.1, allocations: 343.5 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/1.1, allocations: 271.2 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/1.1, allocations: 44 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/1.1, allocations: 103.9 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004299/1.101, allocations: 343.3 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003116/1.101, allocations: 278.8 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000925/1.102, allocations: 0.9132 MB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.102, allocations: 0 / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/1.102, allocations: 0 / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.102, allocations: 0 / 1.214 GB, free: 7.395 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.001527/1.104, allocations: 0.8919 MB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.104, allocations: 8.031 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/1.104, allocations: 64.3 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/1.105, allocations: 0.5448 MB / 1.215 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/1.105, allocations: 20.61 kB / 1.215 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.105, allocations: 32.38 kB / 1.215 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/1.105, allocations: 314.2 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.105, allocations: 192 / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/1.105, allocations: 7.938 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.105, allocations: 4 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/1.106, allocations: 219.8 kB / 1.216 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/1.108, allocations: 1.187 MB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/1.108, allocations: 459.8 kB / 1.217 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/1.108, allocations: 182.6 kB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/1.109, allocations: 7.938 kB / 1.218 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/1.109, allocations: 343.8 kB / 1.218 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/1.109, allocations: 0 / 1.218 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001044/1.11, allocations: 0.618 MB / 1.219 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/1.11, allocations: 118.7 kB / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/1.111, allocations: 0.5955 MB / 1.219 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/1.111, allocations: 41.7 kB / 1.219 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/1.111, allocations: 221.4 kB / 1.22 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/1.111, allocations: 55.34 kB / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/1.112, allocations: 186.3 kB / 1.22 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.112, allocations: 358.8 kB / 1.22 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/1.112, allocations: 131.8 kB / 1.22 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/1.113, allocations: 0.7137 MB / 1.221 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/1.113, allocations: 296.6 kB / 1.221 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.113, allocations: 4 kB / 1.221 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007614/1.114, allocations: 424.6 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.114, allocations: 4 kB / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.114, allocations: 8.312 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.114, allocations: 8 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/1.114, allocations: 39.84 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.114, allocations: 7.938 kB / 1.222 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.116, allocations: 129.5 kB / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/1.116, allocations: 12 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.0003698/1.116, allocations: 257.7 kB / 1.222 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/1.116, allocations: 35.53 kB / 1.222 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/1.116, allocations: 51.38 kB / 1.222 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.116, allocations: 7.938 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.116, allocations: 3.984 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.116, allocations: 0 / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/1.117, allocations: 417.1 kB / 1.223 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.117, allocations: 256 / 1.223 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/1.117, allocations: 15.92 kB / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.117, allocations: 0 / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/1.117, allocations: 8 kB / 1.223 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/1.117, allocations: 7.938 kB / 1.223 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.117, allocations: 3.984 kB / 1.223 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/1.117, allocations: 0.5176 MB / 1.223 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/1.118, allocations: 120.6 kB / 1.223 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/1.118, allocations: 7.984 kB / 1.223 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/1.118, allocations: 15.92 kB / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/1.118, allocations: 35.95 kB / 1.223 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/1.118, allocations: 19.98 kB / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004656/1.118, allocations: 431.1 kB / 1.224 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/1.118, allocations: 0 / 1.224 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004435/1.119, allocations: 115.8 kB / 1.224 GB, free: 12.55 MB / 0.9512 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.000265/1.119, allocations: 149.3 kB / 1.224 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005746/1.12, allocations: 355.4 kB / 1.224 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.12, allocations: 0.75 kB / 1.224 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002734/1.12, allocations: 195.8 kB / 1.224 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/1.12, allocations: 34.33 kB / 1.224 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.122, allocations: 0.8154 MB / 1.225 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/1.122, allocations: 0.8466 MB / 1.226 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002183/1.122, allocations: 90.94 kB / 1.226 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/1.122, allocations: 35.42 kB / 1.226 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of SimCode: time 1.673e-06/1.122, allocations: 0 / 1.226 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of Templates: time 0.01363/1.136, allocations: 7.998 MB / 1.234 GB, free: 2.098 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/jenkins/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