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.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.001394/0.001394, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001828/0.001828, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.244/3.244, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="cs",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.002149/0.002149, allocations: 64.61 kB / 1.171 GB, free: 19.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3941, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002095/0.3962, allocations: 0.8644 MB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3983, allocations: 1.494 MB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.3984, allocations: 0 / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.3989, allocations: 203.4 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.399, allocations: 115.6 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.4001, allocations: 361.6 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009861/0.401, allocations: 0.897 MB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.4012, allocations: 52.55 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.4017, allocations: 351.5 kB / 1.35 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.4021, allocations: 287.2 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.4022, allocations: 48 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.4025, allocations: 119.9 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.403, allocations: 375.2 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.4033, allocations: 270.8 kB / 1.351 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.4043, allocations: 0.9232 MB / 1.352 GB, free: 10.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4043, allocations: 0 / 1.352 GB, free: 10.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4043, allocations: 0 / 1.352 GB, free: 10.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.4043, allocations: 3.938 kB / 1.352 GB, free: 10.15 MB / 1.045 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.001776/0.4061, allocations: 0.828 MB / 1.352 GB, free: 9.285 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.4062, allocations: 8.031 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.385e-05/0.4062, allocations: 4.422 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.4062, allocations: 46.73 kB / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.4064, allocations: 64.59 kB / 1.352 GB, free: 9.156 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.4073, allocations: 492.5 kB / 1.353 GB, free: 8.648 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.4074, allocations: 28.55 kB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.4075, allocations: 40.36 kB / 1.353 GB, free: 8.582 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.408, allocations: 303.2 kB / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.408, allocations: 0 / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.408, allocations: 8 kB / 1.353 GB, free: 8.266 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.408, allocations: 4 kB / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.4084, allocations: 223.8 kB / 1.353 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.4104, allocations: 1.148 MB / 1.355 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.411, allocations: 467.7 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.4113, allocations: 174.6 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.4113, allocations: 7.938 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.4118, allocations: 327.5 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.4118, allocations: 0 / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.00122/0.413, allocations: 0.6377 MB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.4131, allocations: 114.7 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.4138, allocations: 0.5994 MB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.972e-05/0.4139, allocations: 53.69 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.4141, allocations: 213.6 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.4142, allocations: 51.59 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.4145, allocations: 185.5 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4146, allocations: 358.8 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4148, allocations: 131.8 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.4157, allocations: 0.7096 MB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.4161, allocations: 308.5 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.4161, allocations: 4 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007062/0.4168, allocations: 416.9 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4169, allocations: 8.375 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4169, allocations: 8 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.4169, allocations: 7.938 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4171, allocations: 31.92 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4171, allocations: 4 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4184, allocations: 137.9 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.4184, allocations: 12 kB / 1.359 GB, free: 1.586 MB / 1.045 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.0003473/0.4188, allocations: 258.3 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.4188, allocations: 43.72 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.4189, allocations: 59.3 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.419, allocations: 4 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.419, allocations: 4 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.419, allocations: 0 / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.4194, allocations: 384.2 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.4194, allocations: 4 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.4194, allocations: 4 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4194, allocations: 0 / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.4194, allocations: 15.92 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4195, allocations: 7.938 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4195, allocations: 0 / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.4202, allocations: 0.5139 MB / 1.361 GB, free: 232 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.4203, allocations: 47.75 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.4203, allocations: 8.188 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4205, allocations: 15.98 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.4206, allocations: 39.89 kB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.4206, allocations: 12 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005492/0.4211, allocations: 439.1 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4211, allocations: 4 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004658/0.4216, allocations: 111.8 kB / 1.361 GB, free: 15.56 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: 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.001286/0.4229, allocations: 1.105 MB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007339/0.4236, allocations: 339.6 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4236, allocations: 4 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.4239, allocations: 159.8 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4242, allocations: 44.94 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.4307, allocations: 4.409 MB / 1.367 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.4313, allocations: 0.8389 MB / 1.368 GB, free: 8.438 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000335/0.4316, allocations: 102.8 kB / 1.368 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.4319, allocations: 131.4 kB / 1.368 GB, free: 8.207 MB / 1.061 GB Notification: Performance of SimCode: time 1.533e-06/0.4319, allocations: 0 / 1.368 GB, free: 8.207 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.4699, allocations: 11.86 MB / 1.38 GB, free: 12.63 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.28, allocations: 13.72 kB / 1.38 GB, free: 12.62 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.269405243976507] Failed to read output from testmodel.py, exit status != 0: 12.450713595026173 12.475569297 12.06769629 Calling exit ...