Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_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_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 115.3 kB / 15.34 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 189.5 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 72.33 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001873/0.2476, allocations: 0.7427 MB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2492, allocations: 1.348 MB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.2493, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.2497, allocations: 183.6 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.2499, allocations: 103.7 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.2504, allocations: 203.4 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.2509, allocations: 483.7 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.251, allocations: 7.984 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.2512, allocations: 207.6 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.2515, allocations: 211.5 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.2515, allocations: 20 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.2517, allocations: 79.95 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.252, allocations: 255.5 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.2522, allocations: 155.3 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.2526, allocations: 471 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2526, allocations: 7.938 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2526, allocations: 0 / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2526, allocations: 0 / 0.7873 GB, free: 9.344 MB / 0.6075 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.0009261/0.2536, allocations: 0.6307 MB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2536, allocations: 8.031 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.2537, allocations: 42.73 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2538, allocations: 28.66 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.2543, allocations: 384 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2543, allocations: 12.38 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.2544, allocations: 16.38 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.2546, allocations: 200.6 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.2547, allocations: 3.938 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2547, allocations: 0 / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2547, allocations: 4 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.2549, allocations: 115.9 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.2553, allocations: 379.2 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.2557, allocations: 315.6 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.2559, allocations: 130.6 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.256, allocations: 0 / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.2564, allocations: 289.4 kB / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.2565, allocations: 3.938 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0008005/0.2573, allocations: 497.1 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.2574, allocations: 114.8 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.2578, allocations: 400.4 kB / 0.7908 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.2579, allocations: 45.7 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.258, allocations: 156.8 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.2581, allocations: 31.56 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.2582, allocations: 117.6 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.2584, allocations: 346.8 kB / 0.7914 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.2585, allocations: 87.89 kB / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.2591, allocations: 467.4 kB / 0.792 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.2594, allocations: 257.5 kB / 0.7922 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2594, allocations: 4 kB / 0.7922 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004687/0.2598, allocations: 332.9 kB / 0.7925 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2599, allocations: 7.984 kB / 0.7925 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2599, allocations: 7.938 kB / 0.7925 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2599, allocations: 8 kB / 0.7925 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2601, allocations: 27.92 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2601, allocations: 4 kB / 0.7926 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.2609, allocations: 76.86 kB / 0.7926 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.2609, allocations: 8 kB / 0.7927 GB, free: 3.41 MB / 0.6075 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.00021/0.2611, allocations: 195.9 kB / 0.7928 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.2612, allocations: 35.5 kB / 0.7929 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.2612, allocations: 37.89 kB / 0.7929 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2612, allocations: 7.984 kB / 0.7929 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2612, allocations: 4 kB / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2613, allocations: 0 / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.2615, allocations: 285.5 kB / 0.7932 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2615, allocations: 3.938 kB / 0.7932 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.2616, allocations: 12.17 kB / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2616, allocations: 0 / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2616, allocations: 4 kB / 0.7932 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2616, allocations: 7.984 kB / 0.7932 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2616, allocations: 0 / 0.7932 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.2621, allocations: 433 kB / 0.7936 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.2622, allocations: 104.8 kB / 0.7937 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.2623, allocations: 7.984 kB / 0.7937 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.2623, allocations: 7.938 kB / 0.7937 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.2624, allocations: 15.98 kB / 0.7938 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2624, allocations: 12 kB / 0.7938 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002822/0.2627, allocations: 287 kB / 0.794 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2627, allocations: 4 kB / 0.7941 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003697/0.2631, allocations: 83.92 kB / 0.7941 GB, free: 1.793 MB / 0.6075 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.0008896/0.264, allocations: 1.004 MB / 0.7951 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.2644, allocations: 271.6 kB / 0.7954 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2644, allocations: 0 / 0.7954 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.2646, allocations: 147.8 kB / 0.7955 GB, free: 348 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.2649, allocations: 21.47 kB / 0.7955 GB, free: 328 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.2685, allocations: 3.303 MB / 0.7988 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.2688, allocations: 0.7636 MB / 0.7995 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.269, allocations: 45.95 kB / 0.7995 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2691, allocations: 88.52 kB / 0.7996 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2691, allocations: 4 kB / 0.7996 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.2888, allocations: 7.466 MB / 0.8069 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.2891, allocations: 238.7 kB / 0.8072 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.166, allocations: 0 / 0.8072 GB, free: 4.461 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)