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.001301/0.001301, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001393/0.001393, allocations: 218.4 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.765/2.765, allocations: 476.7 MB / 0.7714 GB, free: 4.496 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="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.00221/0.00221, allocations: 65.33 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 170 MB / 1.284 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002319/0.3703, allocations: 0.6994 MB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3724, allocations: 1.383 MB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.3725, allocations: 0 / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.373, allocations: 187.5 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.3732, allocations: 107.7 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.374, allocations: 246.7 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005929/0.3746, allocations: 499.7 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.3746, allocations: 4 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.3749, allocations: 207.7 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.3753, allocations: 231.5 kB / 1.288 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.3754, allocations: 20 kB / 1.288 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.3756, allocations: 103.8 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.376, allocations: 275.5 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.3762, allocations: 147.3 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.3768, allocations: 478 kB / 1.289 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3768, allocations: 0 / 1.289 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3768, allocations: 0 / 1.289 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3768, allocations: 7.938 kB / 1.289 GB, free: 7.258 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.001104/0.3779, allocations: 0.5785 MB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.378, allocations: 8.031 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.915e-05/0.378, allocations: 4.188 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.378, allocations: 34.73 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.3781, allocations: 36.75 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.3787, allocations: 330.5 kB / 1.29 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3787, allocations: 12.38 kB / 1.29 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.3788, allocations: 24.38 kB / 1.29 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.3791, allocations: 188.4 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3792, allocations: 0 / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.3792, allocations: 3.984 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3792, allocations: 4 kB / 1.29 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.3794, allocations: 107.9 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.3798, allocations: 354.2 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3803, allocations: 319.6 kB / 1.291 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3805, allocations: 118.6 kB / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3805, allocations: 11.92 kB / 1.291 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/0.381, allocations: 269.7 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.381, allocations: 0 / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008947/0.3819, allocations: 0.5011 MB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.382, allocations: 122.8 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.3824, allocations: 396.5 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.3825, allocations: 37.7 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3827, allocations: 152.7 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.3827, allocations: 35.8 kB / 1.292 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.3829, allocations: 117.6 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.383, allocations: 342.8 kB / 1.293 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3832, allocations: 91.95 kB / 1.293 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.3837, allocations: 460.7 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.384, allocations: 261.6 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.384, allocations: 4 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005204/0.3846, allocations: 340.8 kB / 1.294 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3846, allocations: 8 kB / 1.294 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3846, allocations: 4 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3846, allocations: 4.406 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3848, allocations: 31.92 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.3848, allocations: 15.92 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/0.3856, allocations: 72.55 kB / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.3856, allocations: 16 kB / 1.294 GB, free: 1.496 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.0002295/0.3858, allocations: 191.7 kB / 1.294 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.3859, allocations: 35.75 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.3859, allocations: 33.89 kB / 1.294 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3859, allocations: 0 / 1.294 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.386, allocations: 4 kB / 1.294 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.386, allocations: 3.938 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3862, allocations: 256.5 kB / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3862, allocations: 4 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.3863, allocations: 7.938 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.3863, allocations: 0 / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3863, allocations: 11.98 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3863, allocations: 3.938 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3863, allocations: 4 kB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.3869, allocations: 428.5 kB / 1.295 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.3869, allocations: 31.78 kB / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.387, allocations: 7.938 kB / 1.295 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.3871, allocations: 4 kB / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.3871, allocations: 23.97 kB / 1.295 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.3872, allocations: 12 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003382/0.3875, allocations: 287 kB / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3875, allocations: 0 / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003999/0.3879, allocations: 79.92 kB / 1.295 GB, free: 24 kB / 0.9825 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.001107/0.389, allocations: 1 MB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.3894, allocations: 256.4 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3895, allocations: 3.938 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.3896, allocations: 124 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3899, allocations: 26.39 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.3939, allocations: 3.265 MB / 1.3 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.3944, allocations: 0.7715 MB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.3945, allocations: 49.92 kB / 1.301 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3946, allocations: 83.41 kB / 1.301 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/0.3946, allocations: 4 kB / 1.301 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.4256, allocations: 7.858 MB / 1.308 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.98, allocations: 14.62 kB / 1.308 GB, free: 2.574 MB / 0.9981 GB " [Timeout remaining time 287] (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] [Calling os._exit(0), Time elapsed: 18.78676369402092] Failed to read output from testmodel.py, exit status != 0: 12.736279389995616 12.161536974 11.781301979 Calling exit ...