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.001779/0.001779, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002101/0.002101, allocations: 215.2 kB / 23.03 MB, free: 4.922 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.474/1.474, allocations: 230.6 MB / 256.8 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.233/3.233, allocations: 0.5003 GB / 0.8062 GB, free: 28.35 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="cs",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="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.001995/0.001995, allocations: 69.94 kB / 1.171 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4105, allocations: 179 MB / 1.345 GB, free: 16 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002314/0.4128, allocations: 0.6825 MB / 1.346 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.415, allocations: 1.346 MB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.4151, allocations: 4 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.4158, allocations: 191.5 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.416, allocations: 103.7 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.417, allocations: 242.5 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000786/0.4178, allocations: 483.8 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.4179, allocations: 7.938 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.4183, allocations: 207.7 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.4189, allocations: 223.6 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.4191, allocations: 20 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.4195, allocations: 99.91 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004996/0.42, allocations: 283.3 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.4203, allocations: 131.5 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.421, allocations: 482.7 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.421, allocations: 0 / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.421, allocations: 3.938 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.421, allocations: 0 / 1.35 GB, free: 11.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001273/0.4223, allocations: 0.5669 MB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4224, allocations: 8.031 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.063e-05/0.4224, allocations: 12.19 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.4224, allocations: 34.73 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.4226, allocations: 32.8 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.4234, allocations: 338.4 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.4234, allocations: 8.375 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.4235, allocations: 20.38 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.4238, allocations: 192.4 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4239, allocations: 0 / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.4239, allocations: 0 / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4239, allocations: 4 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.4241, allocations: 107.9 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.4246, allocations: 302.3 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.4252, allocations: 319.6 kB / 1.352 GB, free: 9.469 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.4253, allocations: 122.6 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.4254, allocations: 0 / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005551/0.4259, allocations: 289.5 kB / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.4259, allocations: 0 / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0009463/0.4269, allocations: 497.2 kB / 1.352 GB, free: 8.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.427, allocations: 126.8 kB / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.4275, allocations: 400.5 kB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.4276, allocations: 41.64 kB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.4278, allocations: 156.8 kB / 1.353 GB, free: 7.781 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.4278, allocations: 35.77 kB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.428, allocations: 113.6 kB / 1.353 GB, free: 7.629 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4282, allocations: 342.8 kB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4284, allocations: 83.95 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4294, allocations: 1.083 MB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.4298, allocations: 261.4 kB / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.4298, allocations: 11.94 kB / 1.355 GB, free: 5.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006001/0.4304, allocations: 333.1 kB / 1.355 GB, free: 5.191 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4304, allocations: 4 kB / 1.355 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4304, allocations: 4 kB / 1.355 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.4304, allocations: 8.406 kB / 1.355 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4306, allocations: 31.92 kB / 1.355 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.4306, allocations: 11.92 kB / 1.355 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.4314, allocations: 66.78 kB / 1.355 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.4314, allocations: 12 kB / 1.355 GB, free: 5.059 MB / 1.045 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.0002352/0.4317, allocations: 191.7 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.4317, allocations: 35.75 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.4318, allocations: 33.89 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4318, allocations: 4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4318, allocations: 3.938 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4318, allocations: 0 / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.4321, allocations: 240.6 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4321, allocations: 0 / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.4321, allocations: 7.938 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4322, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4322, allocations: 7.984 kB / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4322, allocations: 4 kB / 1.356 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4322, allocations: 4 kB / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.4328, allocations: 430.5 kB / 1.356 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.4329, allocations: 35.73 kB / 1.356 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.433, allocations: 11.98 kB / 1.356 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.433, allocations: 0 / 1.356 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.4331, allocations: 15.98 kB / 1.356 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.4332, allocations: 19.98 kB / 1.356 GB, free: 3.957 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003816/0.4335, allocations: 287 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4335, allocations: 0 / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004297/0.434, allocations: 75.94 kB / 1.357 GB, free: 3.602 MB / 1.045 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.001179/0.4351, allocations: 1.007 MB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.4356, allocations: 260.8 kB / 1.358 GB, free: 2.305 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4356, allocations: 4 kB / 1.358 GB, free: 2.301 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.4358, allocations: 115.9 kB / 1.358 GB, free: 2.188 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.4361, allocations: 30.95 kB / 1.358 GB, free: 2.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.4404, allocations: 3.268 MB / 1.361 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.4406, allocations: 157.1 kB / 1.361 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.4407, allocations: 45.95 kB / 1.361 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.4409, allocations: 87.39 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of SimCode: time 4.5e-07/0.4409, allocations: 0 / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.4753, allocations: 8.263 MB / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.24, allocations: 20.77 kB / 1.37 GB, free: 6.438 MB / 1.061 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] [Calling os._exit(0), Time elapsed: 19.15723206603434] Failed to read output from testmodel.py, exit status != 0: 12.413528465898708 12.436013919 12.010830955 Calling exit ...