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.001907/0.001907, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002529/0.002529, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.219/3.219, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.00332/0.00332, allocations: 62.16 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4076, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002421/0.41, allocations: 0.8165 MB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.4125, allocations: 1.455 MB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.4126, allocations: 4 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.4132, allocations: 203.4 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.4134, allocations: 111.6 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.4146, allocations: 371.2 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.4157, allocations: 0.8814 MB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.4159, allocations: 52.56 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006282/0.4165, allocations: 355.5 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.4171, allocations: 287.3 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.4174, allocations: 51.88 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.4179, allocations: 123.9 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006123/0.4185, allocations: 367.2 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.419, allocations: 239 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4201, allocations: 0.9116 MB / 1.351 GB, free: 9.766 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4201, allocations: 0 / 1.351 GB, free: 9.766 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4201, allocations: 4 kB / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.4201, allocations: 3.938 kB / 1.351 GB, free: 9.758 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.001742/0.4218, allocations: 0.8358 MB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4219, allocations: 8.031 kB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.638e-05/0.4219, allocations: 4.422 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.422, allocations: 42.73 kB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.4222, allocations: 60.61 kB / 1.352 GB, free: 8.758 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/0.4231, allocations: 492.5 kB / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.4231, allocations: 28.55 kB / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4232, allocations: 40.38 kB / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.4237, allocations: 303.2 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4237, allocations: 0 / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.4238, allocations: 7.984 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4238, allocations: 4 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.4241, allocations: 219.8 kB / 1.353 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.4262, allocations: 1.035 MB / 1.354 GB, free: 6.562 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/0.4269, allocations: 459.7 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.4271, allocations: 174.6 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.4271, allocations: 8 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.4276, allocations: 341.3 kB / 1.355 GB, free: 5.547 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 3.687e-06/0.4277, allocations: 3.984 kB / 1.355 GB, free: 5.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.001107/0.4288, allocations: 0.6227 MB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4289, allocations: 122.8 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.4296, allocations: 0.5993 MB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/0.4297, allocations: 45.7 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.43, allocations: 213.7 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.43, allocations: 59.58 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.4303, allocations: 181.5 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4305, allocations: 362.8 kB / 1.357 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.4307, allocations: 123.9 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.4321, allocations: 1.779 MB / 1.359 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.4325, allocations: 296.6 kB / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.4325, allocations: 4 kB / 1.36 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007131/0.4332, allocations: 429.1 kB / 1.36 GB, free: 192 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4333, allocations: 4 kB / 1.36 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4333, allocations: 4 kB / 1.36 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.4333, allocations: 7.938 kB / 1.36 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4335, allocations: 39.91 kB / 1.36 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4335, allocations: 4 kB / 1.36 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.4348, allocations: 127.9 kB / 1.36 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.4349, allocations: 16.05 kB / 1.36 GB, free: 15.98 MB / 1.061 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.0003994/0.4353, allocations: 261.6 kB / 1.36 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.4354, allocations: 39.72 kB / 1.36 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.4355, allocations: 59.3 kB / 1.36 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4355, allocations: 4 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4355, allocations: 0 / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4355, allocations: 0 / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.4359, allocations: 336.5 kB / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4359, allocations: 0 / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.436, allocations: 4 kB / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.436, allocations: 0 / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.436, allocations: 11.92 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.436, allocations: 7.938 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.436, allocations: 0 / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.4368, allocations: 0.5103 MB / 1.361 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.4368, allocations: 51.69 kB / 1.361 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.4369, allocations: 15.94 kB / 1.361 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4371, allocations: 15.98 kB / 1.361 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.4372, allocations: 35.89 kB / 1.361 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.4372, allocations: 12 kB / 1.361 GB, free: 14.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005505/0.4377, allocations: 439 kB / 1.362 GB, free: 14.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4377, allocations: 0 / 1.362 GB, free: 14.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005116/0.4383, allocations: 107.8 kB / 1.362 GB, free: 14.03 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.001239/0.4395, allocations: 1.108 MB / 1.363 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006103/0.4401, allocations: 343.6 kB / 1.363 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4401, allocations: 0 / 1.363 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.4404, allocations: 167.8 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4407, allocations: 37.55 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.4465, allocations: 4.409 MB / 1.368 GB, free: 7.766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.4468, allocations: 229.4 kB / 1.368 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002831/0.4471, allocations: 101.8 kB / 1.368 GB, free: 7.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.4473, allocations: 127.4 kB / 1.368 GB, free: 7.297 MB / 1.061 GB Notification: Performance of SimCode: time 1.092e-06/0.4473, allocations: 0 / 1.368 GB, free: 7.297 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.4841, allocations: 12.5 MB / 1.381 GB, free: 11.16 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.31, allocations: 8.062 kB / 1.381 GB, free: 11.15 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.363953510997817] Failed to read output from testmodel.py, exit status != 0: 12.48269089194946 12.514042776 12.087996703 Calling exit ...