Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 103.6 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 215.7 kB / 22.25 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.423/3.423, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 72.25 kB / 1.186 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3924, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001899/0.3942, allocations: 0.6764 MB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3962, allocations: 1.343 MB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.3962, allocations: 4 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.3967, allocations: 199.5 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3969, allocations: 91.73 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.3977, allocations: 248 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.3982, allocations: 491.7 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.3983, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.3985, allocations: 211.7 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.3989, allocations: 227.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.399, allocations: 20 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.3992, allocations: 99.84 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.3996, allocations: 271.5 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.3998, allocations: 131.4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.4003, allocations: 482.7 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4003, allocations: 0 / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4003, allocations: 0 / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4004, allocations: 4 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001085/0.4014, allocations: 0.5723 MB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4015, allocations: 8.031 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.4015, allocations: 38.73 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.4017, allocations: 28.8 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.4023, allocations: 326.5 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.4024, allocations: 8.375 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.4024, allocations: 20.38 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.4028, allocations: 196.7 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4028, allocations: 11.88 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4029, allocations: 0 / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4029, allocations: 0 / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.403, allocations: 111.9 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.4035, allocations: 298.3 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.404, allocations: 311.6 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.4042, allocations: 126.6 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.4042, allocations: 3.938 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.4047, allocations: 285.5 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.4047, allocations: 0 / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009194/0.4056, allocations: 0.5011 MB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.4057, allocations: 106.8 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.4062, allocations: 400.5 kB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.4063, allocations: 41.7 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.4064, allocations: 148.8 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.4065, allocations: 43.75 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.4067, allocations: 117.6 kB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4068, allocations: 342.8 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.407, allocations: 79.95 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009258/0.4079, allocations: 1.097 MB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.4083, allocations: 261.6 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4084, allocations: 0 / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008708/0.4092, allocations: 333.2 kB / 1.373 GB, free: 3.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.4093, allocations: 14.59 kB / 1.373 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.4093, allocations: 4 kB / 1.373 GB, free: 3.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.4093, allocations: 4 kB / 1.373 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.4095, allocations: 31.86 kB / 1.373 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.4096, allocations: 15.92 kB / 1.373 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.4107, allocations: 72.69 kB / 1.373 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.4107, allocations: 12.12 kB / 1.373 GB, free: 3.172 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003902/0.4111, allocations: 191.7 kB / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.4112, allocations: 31.75 kB / 1.374 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.4113, allocations: 41.89 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4113, allocations: 0 / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4113, allocations: 4 kB / 1.374 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4113, allocations: 0 / 1.374 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.4117, allocations: 232.6 kB / 1.374 GB, free: 2.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4117, allocations: 4 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.4118, allocations: 4 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4118, allocations: 3.938 kB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.4118, allocations: 11.98 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4118, allocations: 0 / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.4118, allocations: 7.938 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009904/0.4128, allocations: 422.6 kB / 1.374 GB, free: 2.164 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.4129, allocations: 35.69 kB / 1.374 GB, free: 2.129 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.413, allocations: 11.98 kB / 1.374 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.4131, allocations: 4 kB / 1.374 GB, free: 2.113 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.4132, allocations: 19.97 kB / 1.374 GB, free: 2.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.4132, allocations: 12 kB / 1.374 GB, free: 2.082 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005378/0.4138, allocations: 295 kB / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4138, allocations: 0 / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006925/0.4145, allocations: 75.94 kB / 1.375 GB, free: 1.723 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00155/0.416, allocations: 1.004 MB / 1.376 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007384/0.4167, allocations: 262.1 kB / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4167, allocations: 0 / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.417, allocations: 123.9 kB / 1.376 GB, free: 312 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.4175, allocations: 28.58 kB / 1.376 GB, free: 284 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0061/0.4236, allocations: 3.253 MB / 1.379 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.4238, allocations: 149.2 kB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000156/0.4239, allocations: 50.17 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.4241, allocations: 87.39 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/0.4241, allocations: 0 / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.4634, allocations: 8.656 MB / 1.388 GB, free: 4.176 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.93, allocations: 3.125 kB / 1.388 GB, free: 4.176 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.88861073879525]