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.001231/0.001231, 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.001682/0.001682, allocations: 189.5 kB / 16.62 MB, free: 6.613 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00153/0.00153, allocations: 75.91 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002152/0.2379, allocations: 0.6961 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2399, allocations: 1.332 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.24, allocations: 3.938 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.2405, allocations: 195.6 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.2407, allocations: 99.73 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.2415, allocations: 234.6 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.242, allocations: 499.6 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.2421, allocations: 4 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.2423, allocations: 211.7 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.2426, allocations: 203.6 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.2427, allocations: 24 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2429, allocations: 79.88 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.2433, allocations: 248.6 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.2434, allocations: 159.3 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.2439, allocations: 479 kB / 0.788 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2439, allocations: 0 / 0.788 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.073e-06/0.244, allocations: 4 kB / 0.788 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.244, allocations: 0 / 0.788 GB, free: 8.82 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.001056/0.245, allocations: 0.6307 MB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2451, allocations: 12.03 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.2451, allocations: 30.75 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2453, allocations: 32.66 kB / 0.7886 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.2458, allocations: 396 kB / 0.789 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2459, allocations: 16.31 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.2459, allocations: 24.38 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.2463, allocations: 180.7 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2463, allocations: 3.938 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2463, allocations: 3.984 kB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2463, allocations: 4 kB / 0.7892 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2465, allocations: 107.9 kB / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.2469, allocations: 387.2 kB / 0.7897 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.2474, allocations: 319.6 kB / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.2476, allocations: 122.6 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.2476, allocations: 8 kB / 0.7902 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.2481, allocations: 286.3 kB / 0.7904 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.2481, allocations: 0 / 0.7904 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0008079/0.2489, allocations: 0.4971 MB / 0.7909 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.249, allocations: 114.8 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.2494, allocations: 400.4 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.2495, allocations: 33.7 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.2496, allocations: 156.8 kB / 0.7916 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.2497, allocations: 39.53 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.2499, allocations: 121.6 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.25, allocations: 342.8 kB / 0.7921 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.2501, allocations: 87.95 kB / 0.7921 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.2506, allocations: 467.6 kB / 0.7926 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.251, allocations: 257.4 kB / 0.7928 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.251, allocations: 0 / 0.7928 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004984/0.2515, allocations: 328.9 kB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2515, allocations: 15 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2515, allocations: 8 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2515, allocations: 4 kB / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2517, allocations: 31.92 kB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.2517, allocations: 15.92 kB / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.2525, allocations: 64.12 kB / 0.7933 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2525, allocations: 16 kB / 0.7933 GB, free: 2.871 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.0002198/0.2527, allocations: 199.9 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.2528, allocations: 35.5 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.2529, allocations: 33.89 kB / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2529, allocations: 0 / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2529, allocations: 0 / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2529, allocations: 4 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.2532, allocations: 281.5 kB / 0.7938 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2532, allocations: 0 / 0.7938 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.2532, allocations: 8 kB / 0.7938 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.2533, allocations: 11.92 kB / 0.7938 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2533, allocations: 4 kB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2533, allocations: 0 / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2533, allocations: 0 / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.2539, allocations: 430.3 kB / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.2539, allocations: 112.8 kB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.254, allocations: 4 kB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.2541, allocations: 0 / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2541, allocations: 23.97 kB / 0.7944 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.2542, allocations: 16 kB / 0.7944 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002978/0.2545, allocations: 287 kB / 0.7947 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2545, allocations: 0 / 0.7947 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003846/0.2549, allocations: 79.94 kB / 0.7948 GB, free: 1.27 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.0009201/0.2558, allocations: 1.004 MB / 0.7957 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.2563, allocations: 260.9 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.2563, allocations: 0 / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.2565, allocations: 147.8 kB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2568, allocations: 31.92 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.00402/0.2608, allocations: 3.264 MB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.2614, allocations: 0.7597 MB / 0.8001 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000161/0.2615, allocations: 54.06 kB / 0.8001 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.2617, allocations: 87.39 kB / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of SimCode: time 1.683e-06/0.2618, allocations: 0 / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.2922, allocations: 7.529 MB / 0.8076 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.245, allocations: 12 kB / 0.8076 GB, free: 4.109 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --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)