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.001159/0.001159, allocations: 105.4 kB / 15.7 MB, free: 28 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.001161/0.001161, allocations: 192.8 kB / 16.64 MB, free: 6.453 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.418/1.418, 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.678/1.678, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001392/0.001393, allocations: 71.84 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2311, allocations: 114.5 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002069/0.2332, allocations: 0.8832 MB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2349, allocations: 1.45 MB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.235, allocations: 3.938 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.2355, allocations: 199.5 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.2357, allocations: 111.6 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009252/0.2366, allocations: 361.5 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000882/0.2375, allocations: 0.8775 MB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.2377, allocations: 100.2 kB / 0.7875 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.238, allocations: 343.5 kB / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.2384, allocations: 263.3 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.2385, allocations: 48 kB / 0.7882 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.2387, allocations: 103.9 kB / 0.7883 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004271/0.2392, allocations: 351.3 kB / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.2395, allocations: 270.7 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.2403, allocations: 0.9196 MB / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2404, allocations: 0 / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2404, allocations: 0 / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.2404, allocations: 0 / 0.7897 GB, free: 6.961 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.001485/0.2419, allocations: 0.8802 MB / 0.7906 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2419, allocations: 19.95 kB / 0.7906 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.242, allocations: 50.69 kB / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2422, allocations: 56.39 kB / 0.7907 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.2429, allocations: 0.5409 MB / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.243, allocations: 24.61 kB / 0.7913 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.2431, allocations: 36.36 kB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.2435, allocations: 307.4 kB / 0.7916 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2436, allocations: 7.938 kB / 0.7916 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.2436, allocations: 4 kB / 0.7916 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2436, allocations: 8 kB / 0.7916 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.2439, allocations: 219.8 kB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2457, allocations: 1.172 MB / 0.793 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.2463, allocations: 471.7 kB / 0.7934 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2465, allocations: 178.6 kB / 0.7936 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.2465, allocations: 4 kB / 0.7936 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.247, allocations: 340.4 kB / 0.7939 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 3.496e-06/0.247, allocations: 7.984 kB / 0.7939 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.00106/0.2481, allocations: 0.6219 MB / 0.7945 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.2482, allocations: 118.7 kB / 0.7947 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.2489, allocations: 0.5993 MB / 0.7952 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.249, allocations: 45.7 kB / 0.7953 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.2492, allocations: 213.6 kB / 0.7955 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.2493, allocations: 55.28 kB / 0.7955 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.2496, allocations: 186.3 kB / 0.7957 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2497, allocations: 358.8 kB / 0.7961 GB, free: 204 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2499, allocations: 123.9 kB / 0.7962 GB, free: 80 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008422/0.2508, allocations: 0.7142 MB / 0.7969 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2511, allocations: 300.6 kB / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2511, allocations: 4 kB / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007293/0.2519, allocations: 425 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2519, allocations: 9 kB / 0.7976 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2519, allocations: 7.938 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.2519, allocations: 7.938 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.2521, allocations: 36.16 kB / 0.7976 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2521, allocations: 4 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.2534, allocations: 123.9 kB / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.2535, allocations: 12 kB / 0.7978 GB, free: 14.23 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.0003313/0.2538, allocations: 261.6 kB / 0.798 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.2539, allocations: 47.44 kB / 0.7981 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.254, allocations: 51.36 kB / 0.7981 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.254, allocations: 11.94 kB / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.254, allocations: 0 / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.254, allocations: 0 / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.2544, allocations: 397.4 kB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2544, allocations: 4 kB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.2545, allocations: 11.92 kB / 0.7985 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2545, allocations: 0 / 0.7985 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2545, allocations: 8 kB / 0.7985 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2545, allocations: 3.938 kB / 0.7985 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.2545, allocations: 7.984 kB / 0.7985 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.2552, allocations: 0.5136 MB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.2553, allocations: 120.6 kB / 0.7992 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.2554, allocations: 11.98 kB / 0.7992 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2555, allocations: 23.92 kB / 0.7992 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.2557, allocations: 31.97 kB / 0.7992 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.2557, allocations: 11.98 kB / 0.7992 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004662/0.2562, allocations: 439.1 kB / 0.7996 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2562, allocations: 0 / 0.7996 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004892/0.2567, allocations: 107.9 kB / 0.7997 GB, free: 12.09 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.00106/0.2577, allocations: 1.106 MB / 0.8008 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006007/0.2583, allocations: 359.6 kB / 0.8012 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2584, allocations: 0 / 0.8012 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.2586, allocations: 191.8 kB / 0.8014 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.2589, allocations: 34.7 kB / 0.8014 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.264, allocations: 4.396 MB / 0.8057 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.2644, allocations: 0.8389 MB / 0.8065 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.2647, allocations: 94.92 kB / 0.8066 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.2649, allocations: 131.4 kB / 0.8067 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.2649, allocations: 0 / 0.8067 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.2927, allocations: 11.49 MB / 0.8179 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.661, allocations: 13.52 kB / 0.8179 GB, free: 9.477 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)