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.001891/0.001891, allocations: 108 kB / 15.61 MB, free: 152 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.002648/0.002648, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.591/1.591, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.856/1.856, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001475/0.001475, allocations: 66.08 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2852, allocations: 114.6 MB / 0.7835 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002474/0.2877, allocations: 0.8685 MB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.2901, allocations: 1.446 MB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2902, allocations: 3.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.2908, allocations: 195.5 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.291, allocations: 111.6 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.292, allocations: 357 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009375/0.2929, allocations: 0.8582 MB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.2932, allocations: 100.2 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.2936, allocations: 347.4 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.294, allocations: 259.4 kB / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2941, allocations: 44 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.2944, allocations: 107.9 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.2949, allocations: 351.2 kB / 0.7884 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.2952, allocations: 266.8 kB / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.2961, allocations: 0.9118 MB / 0.7895 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2961, allocations: 0 / 0.7895 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2961, allocations: 0 / 0.7895 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.2961, allocations: 4 kB / 0.7895 GB, free: 7.117 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.001625/0.2977, allocations: 0.8879 MB / 0.7904 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2978, allocations: 8.031 kB / 0.7904 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.702e-05/0.2979, allocations: 46.75 kB / 0.7905 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.298, allocations: 52.45 kB / 0.7905 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007692/0.2988, allocations: 0.5409 MB / 0.791 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.2989, allocations: 28.61 kB / 0.7911 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.299, allocations: 36.36 kB / 0.7911 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.2994, allocations: 307.4 kB / 0.7914 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2995, allocations: 3.938 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.2995, allocations: 8 kB / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2995, allocations: 0 / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.2998, allocations: 223.8 kB / 0.7916 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.3017, allocations: 1.184 MB / 0.7928 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.3024, allocations: 467.8 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.3026, allocations: 178.6 kB / 0.7934 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.3026, allocations: 4 kB / 0.7934 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.3031, allocations: 348.4 kB / 0.7937 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 3.056e-06/0.3031, allocations: 0 / 0.7937 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.00103/0.3041, allocations: 0.6257 MB / 0.7943 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.3042, allocations: 122.8 kB / 0.7945 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.3049, allocations: 0.5954 MB / 0.795 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.944e-05/0.305, allocations: 41.7 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.3053, allocations: 222.4 kB / 0.7953 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.3054, allocations: 51.34 kB / 0.7953 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.3056, allocations: 185.5 kB / 0.7955 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3058, allocations: 362.8 kB / 0.7959 GB, free: 360 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.306, allocations: 123.8 kB / 0.796 GB, free: 236 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009741/0.307, allocations: 0.7145 MB / 0.7967 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.3074, allocations: 300.6 kB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3074, allocations: 8 kB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006735/0.3081, allocations: 424.9 kB / 0.7974 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3081, allocations: 4 kB / 0.7974 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3081, allocations: 7.938 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.3082, allocations: 4 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3083, allocations: 35.91 kB / 0.7974 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3084, allocations: 7.938 kB / 0.7974 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.3097, allocations: 131.5 kB / 0.7976 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3097, allocations: 16 kB / 0.7976 GB, free: 14.38 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.0003971/0.3101, allocations: 261.6 kB / 0.7978 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.3102, allocations: 39.44 kB / 0.7979 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.3103, allocations: 59.3 kB / 0.7979 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3103, allocations: 7.938 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3103, allocations: 3.938 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3103, allocations: 0 / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3108, allocations: 397.4 kB / 0.7983 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.3108, allocations: 7.984 kB / 0.7983 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3108, allocations: 7.938 kB / 0.7983 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3108, allocations: 0 / 0.7983 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.3108, allocations: 11.94 kB / 0.7983 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.3109, allocations: 11.98 kB / 0.7983 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3109, allocations: 0 / 0.7983 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.3116, allocations: 0.5136 MB / 0.7988 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3117, allocations: 128.6 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.3118, allocations: 7.922 kB / 0.799 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3119, allocations: 15.98 kB / 0.799 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.312, allocations: 31.97 kB / 0.799 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.3121, allocations: 19.98 kB / 0.799 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004991/0.3126, allocations: 431.1 kB / 0.7994 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3126, allocations: 0 / 0.7994 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000522/0.3131, allocations: 107.9 kB / 0.7996 GB, free: 12.23 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.001243/0.3144, allocations: 1.102 MB / 0.8006 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006394/0.315, allocations: 367.6 kB / 0.801 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.315, allocations: 4.75 kB / 0.801 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.3153, allocations: 191.8 kB / 0.8012 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3156, allocations: 45.38 kB / 0.8012 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.3214, allocations: 4.434 MB / 0.8055 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.322, allocations: 0.8467 MB / 0.8064 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002874/0.3223, allocations: 94.92 kB / 0.8065 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.3225, allocations: 131.4 kB / 0.8066 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.3225, allocations: 0 / 0.8066 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.3576, allocations: 11.47 MB / 0.8178 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.461, allocations: 13.36 kB / 0.8178 GB, free: 9.562 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-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)