Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002183/0.002183, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001688/0.001688, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.943/2.943, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002038/0.002038, allocations: 65.36 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.003912/0.3709, allocations: 0.6864 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.3742, allocations: 1.383 MB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.3743, allocations: 0 / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.3751, allocations: 191.5 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.3753, allocations: 99.72 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3766, allocations: 261.8 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009335/0.3775, allocations: 0.4919 MB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.3776, allocations: 0 / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.3781, allocations: 207.7 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006364/0.3787, allocations: 231.5 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.3789, allocations: 23.98 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.3793, allocations: 99.86 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006867/0.38, allocations: 275.5 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.3804, allocations: 147.3 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009141/0.3814, allocations: 482.7 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3814, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3814, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.3814, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 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.001707/0.3831, allocations: 0.5747 MB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.3832, allocations: 12.03 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.395e-05/0.3832, allocations: 34.69 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3835, allocations: 36.73 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/0.3843, allocations: 326.5 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.3844, allocations: 16.36 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3845, allocations: 24.31 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.3849, allocations: 184.7 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.385, allocations: 7.875 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.385, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.385, allocations: 4 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.3853, allocations: 107.9 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.386, allocations: 354.2 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.3867, allocations: 319.6 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.387, allocations: 122.5 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.387, allocations: 4 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007006/0.3877, allocations: 287.7 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.3877, allocations: 0 / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001387/0.3891, allocations: 0.4978 MB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.3893, allocations: 114.8 kB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.3901, allocations: 404.5 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.3902, allocations: 37.7 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.3904, allocations: 148.8 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.3905, allocations: 35.8 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.3908, allocations: 117.6 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.3911, allocations: 342.8 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3913, allocations: 91.95 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/0.3922, allocations: 460.2 kB / 1.292 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.3928, allocations: 257.6 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3928, allocations: 4 kB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001048/0.3939, allocations: 337.1 kB / 1.293 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.3939, allocations: 11.94 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3939, allocations: 8.094 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.3939, allocations: 4.406 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.3942, allocations: 31.92 kB / 1.293 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.3942, allocations: 15.92 kB / 1.293 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.3956, allocations: 71.73 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.3957, allocations: 16 kB / 1.293 GB, free: 1.359 MB / 0.9825 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.0003984/0.3961, allocations: 191.7 kB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3962, allocations: 35.75 kB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3963, allocations: 33.89 kB / 1.293 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3963, allocations: 0 / 1.293 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.3963, allocations: 4 kB / 1.293 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3963, allocations: 0 / 1.293 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.3968, allocations: 252.6 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.3968, allocations: 4 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.3969, allocations: 0 / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.3969, allocations: 11.88 kB / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.3969, allocations: 11.98 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3969, allocations: 0 / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3969, allocations: 4 kB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.398, allocations: 426.4 kB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.3981, allocations: 35.73 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.3982, allocations: 7.984 kB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3983, allocations: 4 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3985, allocations: 27.91 kB / 1.294 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.3985, allocations: 15.94 kB / 1.294 GB, free: 248 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006089/0.3991, allocations: 287 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3991, allocations: 0 / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006703/0.3998, allocations: 75.94 kB / 1.294 GB, free: 15.89 MB / 0.9981 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.001721/0.4015, allocations: 1.003 MB / 1.295 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008352/0.4023, allocations: 260.2 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4024, allocations: 192 / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.4027, allocations: 123.9 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.4032, allocations: 20.64 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.4099, allocations: 3.264 MB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.4105, allocations: 0.7675 MB / 1.3 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.4107, allocations: 46.17 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.4109, allocations: 87.39 kB / 1.3 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.4109, allocations: 8 kB / 1.3 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05697/0.4679, allocations: 7.826 MB / 1.307 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.83, allocations: 4.062 kB / 1.307 GB, free: 2.477 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.789782827021554]