Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.0007297/0.0007297, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.004575/0.004575, allocations: 171.2 kB / 16.26 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.414/1.414, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.646/1.646, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005426/0.0005427, allocations: 23.84 kB / 0.6745 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2445, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001031/0.2455, allocations: 0.5752 MB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.2474, allocations: 1.442 MB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.2475, allocations: 11.94 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.248, allocations: 187.5 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.2481, allocations: 95.73 kB / 0.7903 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.249, allocations: 333.9 kB / 0.7906 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.2498, allocations: 0.7644 MB / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.25, allocations: 96.23 kB / 0.7914 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.2503, allocations: 303.2 kB / 0.7917 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.2507, allocations: 239.4 kB / 0.7919 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.553e-05/0.2508, allocations: 16 kB / 0.792 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.251, allocations: 71.94 kB / 0.792 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.2514, allocations: 315.2 kB / 0.7923 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.2517, allocations: 256.5 kB / 0.7926 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.2525, allocations: 0.8609 MB / 0.7934 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2525, allocations: 0 / 0.7934 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2525, allocations: 0 / 0.7934 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2525, allocations: 0 / 0.7934 GB, free: 5.879 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001278/0.2538, allocations: 0.705 MB / 0.7941 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2539, allocations: 8.031 kB / 0.7941 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.2539, allocations: 42.73 kB / 0.7942 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.2541, allocations: 56.38 kB / 0.7942 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.2548, allocations: 0.5487 MB / 0.7947 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2548, allocations: 24.61 kB / 0.7948 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.255, allocations: 36.38 kB / 0.7948 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.2554, allocations: 310.2 kB / 0.7951 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2554, allocations: 3.938 kB / 0.7951 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.2554, allocations: 4 kB / 0.7951 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2555, allocations: 4 kB / 0.7951 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.2558, allocations: 223.8 kB / 0.7953 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2576, allocations: 1.176 MB / 0.7965 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.2582, allocations: 471.8 kB / 0.7969 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.2585, allocations: 182.6 kB / 0.7971 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.2585, allocations: 4 kB / 0.7971 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.259, allocations: 341.1 kB / 0.7974 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.259, allocations: 3.938 kB / 0.7974 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009737/0.26, allocations: 0.6342 MB / 0.798 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.26, allocations: 110.8 kB / 0.7982 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.2607, allocations: 0.5916 MB / 0.7987 GB, free: 168 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.2e-05/0.2608, allocations: 53.69 kB / 0.7988 GB, free: 108 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.2611, allocations: 226.3 kB / 0.799 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.2612, allocations: 51.34 kB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.2612, allocations: 41.7 kB / 0.7991 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2614, allocations: 362.8 kB / 0.7994 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.2616, allocations: 127.8 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/0.2624, allocations: 0.7142 MB / 0.8003 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.2628, allocations: 300.6 kB / 0.8005 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2628, allocations: 4 kB / 0.8005 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006246/0.2634, allocations: 420.8 kB / 0.8009 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2634, allocations: 4 kB / 0.8009 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2635, allocations: 11.92 kB / 0.801 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2635, allocations: 4.375 kB / 0.801 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2636, allocations: 35.92 kB / 0.801 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2637, allocations: 7.938 kB / 0.801 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.2649, allocations: 135.5 kB / 0.8011 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.265, allocations: 16 kB / 0.8012 GB, free: 13.45 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003109/0.2653, allocations: 258.3 kB / 0.8014 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2653, allocations: 35.53 kB / 0.8014 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.663e-05/0.2654, allocations: 59.3 kB / 0.8015 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2654, allocations: 4 kB / 0.8015 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2655, allocations: 0 / 0.8015 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2655, allocations: 4 kB / 0.8015 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.2659, allocations: 409.2 kB / 0.8019 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2659, allocations: 4 kB / 0.8019 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.2659, allocations: 7.938 kB / 0.8019 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2659, allocations: 0 / 0.8019 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2659, allocations: 15.92 kB / 0.8019 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.266, allocations: 0 / 0.8019 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.266, allocations: 4 kB / 0.8019 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.2666, allocations: 0.5121 MB / 0.8024 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2668, allocations: 140.5 kB / 0.8026 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.2668, allocations: 11.92 kB / 0.8026 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.267, allocations: 16.23 kB / 0.8026 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.2671, allocations: 31.97 kB / 0.8026 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.2671, allocations: 16.08 kB / 0.8026 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004734/0.2676, allocations: 439 kB / 0.803 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2676, allocations: 4 kB / 0.803 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004292/0.268, allocations: 103.9 kB / 0.8031 GB, free: 11.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.00105/0.2691, allocations: 1.108 MB / 0.8042 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005308/0.2696, allocations: 354.2 kB / 0.8046 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2696, allocations: 0 / 0.8046 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.2699, allocations: 187.9 kB / 0.8047 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2702, allocations: 38.7 kB / 0.8048 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/0.2754, allocations: 4.507 MB / 0.8092 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.2759, allocations: 0.8387 MB / 0.81 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.2761, allocations: 90.94 kB / 0.8101 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.2763, allocations: 131.4 kB / 0.8102 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2763, allocations: 0 / 0.8102 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.2996, allocations: 10.93 MB / 0.8209 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.2998, allocations: 210.7 kB / 0.8211 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.211, allocations: 4 kB / 0.8211 GB, free: 8.906 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)