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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 105.2 kB / 16.29 MB, free: 6.426 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.001174/0.001174, allocations: 189.5 kB / 17.22 MB, free: 5.957 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.765/1.765, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.989/1.989, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001555/0.001556, allocations: 75.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3276, allocations: 114.6 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003862/0.3315, allocations: 0.8717 MB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.3342, allocations: 1.449 MB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.3345, allocations: 7.938 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.3352, allocations: 195.4 kB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.3355, allocations: 111.6 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3368, allocations: 358.1 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009919/0.3378, allocations: 0.8775 MB / 0.7879 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5712/0.909, allocations: 95.17 kB / 0.7879 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/0.9097, allocations: 345.3 kB / 0.7883 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.9101, allocations: 260.3 kB / 0.7885 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.9102, allocations: 49.25 kB / 0.7886 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.9105, allocations: 104.8 kB / 0.7887 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.9109, allocations: 345.8 kB / 0.789 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.9112, allocations: 276.7 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.912, allocations: 0.9145 MB / 0.7902 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.912, allocations: 0 / 0.7902 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.912, allocations: 0.6562 kB / 0.7902 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.9121, allocations: 0 / 0.7902 GB, free: 45.86 MB / 0.6544 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.001311/0.9134, allocations: 0.8913 MB / 0.791 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.9134, allocations: 7.281 kB / 0.791 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.9136, allocations: 52.53 kB / 0.7911 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.9143, allocations: 0.5398 MB / 0.7916 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.9143, allocations: 28.05 kB / 0.7916 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.9144, allocations: 45.12 kB / 0.7917 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.9148, allocations: 297.3 kB / 0.792 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.9148, allocations: 192 / 0.792 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.9148, allocations: 14.55 kB / 0.792 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.9148, allocations: 3.281 kB / 0.792 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.9151, allocations: 218.3 kB / 0.7922 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.9167, allocations: 1.18 MB / 0.7933 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.9172, allocations: 471 kB / 0.7938 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.9174, allocations: 179.3 kB / 0.794 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.9174, allocations: 4 kB / 0.794 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.9178, allocations: 334.5 kB / 0.7943 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 3.637e-06/0.9178, allocations: 0 / 0.7943 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0008786/0.9187, allocations: 0.6279 MB / 0.7949 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.9188, allocations: 115.1 kB / 0.795 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.9194, allocations: 0.5985 MB / 0.7956 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/0.9195, allocations: 48.05 kB / 0.7956 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.9197, allocations: 220.4 kB / 0.7959 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.9197, allocations: 50.23 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.92, allocations: 182.3 kB / 0.7961 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.9201, allocations: 361.1 kB / 0.7964 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.9203, allocations: 127.5 kB / 0.7965 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.9209, allocations: 0.7178 MB / 0.7972 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.9212, allocations: 299.9 kB / 0.7975 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9212, allocations: 2.25 kB / 0.7975 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006223/0.9219, allocations: 420.9 kB / 0.7979 GB, free: 43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.9219, allocations: 11.41 kB / 0.7979 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.9219, allocations: 3.219 kB / 0.7979 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.9219, allocations: 8.062 kB / 0.798 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.9221, allocations: 39.42 kB / 0.798 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.9221, allocations: 5.109 kB / 0.798 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.9232, allocations: 134.5 kB / 0.7981 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.9233, allocations: 11.97 kB / 0.7981 GB, free: 42.98 MB / 0.6544 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.0002914/0.9236, allocations: 257.3 kB / 0.7984 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.9236, allocations: 45.33 kB / 0.7984 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.9237, allocations: 58.36 kB / 0.7985 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9237, allocations: 6.094 kB / 0.7985 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.9238, allocations: 0.5 kB / 0.7985 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9238, allocations: 0.9062 kB / 0.7985 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.9242, allocations: 405.5 kB / 0.7989 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9242, allocations: 1.688 kB / 0.7989 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.9242, allocations: 8.016 kB / 0.7989 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.9242, allocations: 2.562 kB / 0.7989 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.9242, allocations: 13.91 kB / 0.7989 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9243, allocations: 2.438 kB / 0.7989 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9243, allocations: 0 / 0.7989 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.9249, allocations: 0.5193 MB / 0.7994 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.925, allocations: 124.3 kB / 0.7995 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.9251, allocations: 9.297 kB / 0.7995 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.9252, allocations: 18.44 kB / 0.7996 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.9253, allocations: 31.75 kB / 0.7996 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.9253, allocations: 13.48 kB / 0.7996 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004962/0.9258, allocations: 435.2 kB / 0.8 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9259, allocations: 3.75 kB / 0.8 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005311/0.9264, allocations: 110.9 kB / 0.8001 GB, free: 42.3 MB / 0.6544 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.0003607/0.9268, allocations: 152 kB / 0.8003 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009285/0.9277, allocations: 360.1 kB / 0.8006 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9277, allocations: 0 / 0.8006 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.9281, allocations: 190.2 kB / 0.8008 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.9285, allocations: 38.77 kB / 0.8008 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.9304, allocations: 0.8189 MB / 0.8016 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.931, allocations: 0.8392 MB / 0.8024 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.9313, allocations: 96.59 kB / 0.8025 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.9314, allocations: 38.08 kB / 0.8026 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of SimCode: time 1.202e-06/0.9315, allocations: 0 / 0.8026 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.02205/0.9535, allocations: 7.942 MB / 0.8103 GB, free: 40.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)