Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.001572/0.001572, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 188 kB / 16.62 MB, free: 6.582 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.491/1.491, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.692/1.692, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001548/0.001548, allocations: 74.88 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2812, allocations: 114.5 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002903/0.2842, allocations: 0.6815 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.2869, allocations: 1.339 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.287, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.2877, allocations: 187.6 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2879, allocations: 111.7 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.2886, allocations: 230.9 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.2893, allocations: 495.7 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.2893, allocations: 11.94 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2895, allocations: 203.7 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.2899, allocations: 215.5 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.29, allocations: 20 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.2902, allocations: 75.95 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.2906, allocations: 252.6 kB / 0.7874 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.2908, allocations: 155.3 kB / 0.7875 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.2913, allocations: 479 kB / 0.788 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2913, allocations: 4 kB / 0.788 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2913, allocations: 0 / 0.788 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2913, allocations: 0 / 0.788 GB, free: 8.828 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.001002/0.2923, allocations: 0.6307 MB / 0.7886 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2924, allocations: 12.03 kB / 0.7886 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.2924, allocations: 30.75 kB / 0.7886 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2926, allocations: 32.59 kB / 0.7887 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.2931, allocations: 392 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2931, allocations: 20.38 kB / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.2932, allocations: 16.38 kB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.2935, allocations: 188.7 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2935, allocations: 3.938 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2935, allocations: 3.984 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2935, allocations: 0 / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.2937, allocations: 115.9 kB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.2941, allocations: 383.2 kB / 0.7897 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.2946, allocations: 311.6 kB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.2947, allocations: 134.6 kB / 0.7902 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2948, allocations: 7.875 kB / 0.7902 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.2952, allocations: 284.2 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 3.427e-06/0.2953, allocations: 0 / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.000828/0.2961, allocations: 0.4932 MB / 0.7909 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.2962, allocations: 118.8 kB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.2966, allocations: 404.4 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.2967, allocations: 33.7 kB / 0.7914 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.2968, allocations: 152.8 kB / 0.7916 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.2969, allocations: 39.55 kB / 0.7916 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.297, allocations: 113.6 kB / 0.7917 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2972, allocations: 350.8 kB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2973, allocations: 87.95 kB / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.2978, allocations: 466.8 kB / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.2981, allocations: 257.5 kB / 0.7928 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2981, allocations: 0 / 0.7928 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004847/0.2986, allocations: 329.2 kB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2986, allocations: 16 kB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2986, allocations: 4 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.2987, allocations: 4 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.2989, allocations: 27.92 kB / 0.7932 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.2989, allocations: 11.92 kB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.2997, allocations: 63.97 kB / 0.7933 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2997, allocations: 12.23 kB / 0.7933 GB, free: 2.891 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.0002075/0.2999, allocations: 203.8 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.3, allocations: 35.56 kB / 0.7935 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.3, allocations: 33.89 kB / 0.7936 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3, allocations: 4 kB / 0.7936 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3, allocations: 0 / 0.7936 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3001, allocations: 4 kB / 0.7936 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.3003, allocations: 281.5 kB / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3003, allocations: 4 kB / 0.7938 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.3004, allocations: 11.98 kB / 0.7938 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3004, allocations: 7.938 kB / 0.7939 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3004, allocations: 4 kB / 0.7939 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3004, allocations: 3.938 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3004, allocations: 0 / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.3009, allocations: 431 kB / 0.7943 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.301, allocations: 104.8 kB / 0.7944 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.3011, allocations: 8 kB / 0.7944 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.3012, allocations: 4 kB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3012, allocations: 19.97 kB / 0.7944 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.3013, allocations: 12 kB / 0.7944 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002827/0.3015, allocations: 291 kB / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.342e-06/0.3016, allocations: 0 / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003628/0.3019, allocations: 91.8 kB / 0.7948 GB, free: 1.266 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.0009835/0.3029, allocations: 0.9963 MB / 0.7957 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.3034, allocations: 270.8 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3034, allocations: 3.938 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3036, allocations: 143.9 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.304, allocations: 24.64 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.3075, allocations: 3.257 MB / 0.7994 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.3079, allocations: 0.7597 MB / 0.8001 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.308, allocations: 54.11 kB / 0.8001 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3081, allocations: 83.41 kB / 0.8002 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.3082, allocations: 0 / 0.8002 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.3347, allocations: 7.533 MB / 0.8076 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.425, allocations: 18.86 kB / 0.8076 GB, free: 4.113 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)