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.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001072/0.001072, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.258/1.258, allocations: 205.1 MB / 222 MB, free: 4.777 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.609/1.609, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.002218/0.002218, allocations: 67.39 kB / 0.671 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2178, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001896/0.2197, allocations: 0.7545 MB / 0.7836 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2214, allocations: 1.344 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.2214, allocations: 4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.2219, allocations: 183.6 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.222, allocations: 95.73 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.2226, allocations: 208.6 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.223, allocations: 439.8 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.2231, allocations: 4 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.2233, allocations: 187.6 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.2236, allocations: 211.5 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-05/0.2237, allocations: 12 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.2239, allocations: 67.94 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.2242, allocations: 231.5 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2244, allocations: 143.3 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.2249, allocations: 459 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2249, allocations: 0 / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2249, allocations: 0 / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.2249, allocations: 0 / 0.787 GB, free: 9.594 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.0009952/0.2259, allocations: 0.6385 MB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2259, allocations: 12.03 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.226, allocations: 38.69 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.2261, allocations: 32.66 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.2266, allocations: 388 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2267, allocations: 12.38 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.2267, allocations: 20.38 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.227, allocations: 184.7 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.227, allocations: 3.938 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.2271, allocations: 11.92 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2271, allocations: 7.984 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.2272, allocations: 99.94 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.2276, allocations: 379.2 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.2281, allocations: 323.7 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2282, allocations: 126.4 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.2282, allocations: 0 / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.2287, allocations: 297.4 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.143e-06/0.2287, allocations: 3.938 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007829/0.2294, allocations: 497.1 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.2295, allocations: 118.8 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.2299, allocations: 400.4 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.23, allocations: 33.7 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2302, allocations: 156.8 kB / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.2302, allocations: 43.53 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.2304, allocations: 113.6 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2305, allocations: 342.8 kB / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2307, allocations: 87.95 kB / 0.7912 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.2311, allocations: 470.8 kB / 0.7917 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.2314, allocations: 261.5 kB / 0.7919 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2315, allocations: 0 / 0.7919 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004679/0.2319, allocations: 328.8 kB / 0.7922 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.232, allocations: 8 kB / 0.7922 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.232, allocations: 4 kB / 0.7922 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.232, allocations: 4 kB / 0.7922 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.2321, allocations: 32.33 kB / 0.7923 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2322, allocations: 15.92 kB / 0.7923 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.2329, allocations: 70.88 kB / 0.7923 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.233, allocations: 16 kB / 0.7924 GB, free: 3.641 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.0002004/0.2332, allocations: 191.9 kB / 0.7925 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.2332, allocations: 43.5 kB / 0.7926 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.2333, allocations: 33.89 kB / 0.7926 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2333, allocations: 0 / 0.7926 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2333, allocations: 4.125 kB / 0.7926 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2333, allocations: 4.234 kB / 0.7926 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2336, allocations: 281.5 kB / 0.7929 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2336, allocations: 3.938 kB / 0.7929 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.2336, allocations: 7.984 kB / 0.7929 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2336, allocations: 11.92 kB / 0.7929 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2336, allocations: 4 kB / 0.7929 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2336, allocations: 4 kB / 0.7929 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2336, allocations: 0 / 0.7929 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.2342, allocations: 426.3 kB / 0.7933 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.2343, allocations: 108.8 kB / 0.7934 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.2343, allocations: 4 kB / 0.7934 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.2344, allocations: 4 kB / 0.7934 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.2345, allocations: 23.97 kB / 0.7935 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2345, allocations: 15.94 kB / 0.7935 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002913/0.2348, allocations: 287 kB / 0.7938 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2348, allocations: 0 / 0.7938 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003793/0.2352, allocations: 83.92 kB / 0.7938 GB, free: 2.027 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.0008987/0.2361, allocations: 1.004 MB / 0.7948 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.2365, allocations: 251.7 kB / 0.7951 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2365, allocations: 0.8125 kB / 0.7951 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2367, allocations: 147.8 kB / 0.7952 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.237, allocations: 32.64 kB / 0.7952 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.2406, allocations: 3.284 MB / 0.7984 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.241, allocations: 0.7674 MB / 0.7992 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.2411, allocations: 52.94 kB / 0.7992 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2413, allocations: 83.41 kB / 0.7993 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2413, allocations: 0 / 0.7993 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.2594, allocations: 7.267 MB / 0.8064 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.2597, allocations: 234.5 kB / 0.8066 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.137, allocations: 0 / 0.8066 GB, free: 4.898 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)