Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001614/0.001614, allocations: 196.3 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.11/3.11, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.58 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4073, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002385/0.4097, allocations: 0.9143 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.4119, allocations: 1.455 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.412, allocations: 7.938 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.4125, allocations: 187.5 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.4127, allocations: 111.7 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.4136, allocations: 325.1 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.4145, allocations: 0.772 MB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.4147, allocations: 92.25 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.415, allocations: 299.4 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.4154, allocations: 251.3 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.4155, allocations: 16 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.4158, allocations: 87.88 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.4162, allocations: 303.3 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.4166, allocations: 246.8 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.4177, allocations: 0.8729 MB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4177, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4177, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.4177, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 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.002003/0.4198, allocations: 0.8841 MB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4198, allocations: 8.031 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.42, allocations: 56.36 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008051/0.4208, allocations: 0.5487 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.4209, allocations: 20.61 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.421, allocations: 40.36 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.4215, allocations: 306.2 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4215, allocations: 4.188 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.4215, allocations: 3.938 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.4215, allocations: 7.984 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.4219, allocations: 219.8 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.4238, allocations: 1.183 MB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.4244, allocations: 471.8 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.4247, allocations: 186.5 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.4247, allocations: 0 / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.4252, allocations: 339.9 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.4252, allocations: 0 / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.00103/0.4262, allocations: 0.6182 MB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.4263, allocations: 126.7 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.427, allocations: 0.5916 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.445e-05/0.4271, allocations: 45.7 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.4273, allocations: 234.2 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.4274, allocations: 51.41 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.4277, allocations: 181.5 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4278, allocations: 362.8 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.428, allocations: 127.9 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008307/0.4289, allocations: 0.7098 MB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.4292, allocations: 304.6 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4292, allocations: 0 / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006386/0.4299, allocations: 416.9 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4299, allocations: 8 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4299, allocations: 4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4299, allocations: 7.938 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.4301, allocations: 39.84 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.4301, allocations: 8 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4314, allocations: 124 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.4315, allocations: 16 kB / 1.081 GB, free: 12.33 MB / 0.8419 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.0002921/0.4318, allocations: 261.9 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.4318, allocations: 43.53 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/0.4319, allocations: 59.3 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4319, allocations: 4 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.432, allocations: 0 / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.432, allocations: 7.938 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.4324, allocations: 401.2 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4324, allocations: 3.984 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.4324, allocations: 8 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4324, allocations: 4 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4324, allocations: 7.938 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4324, allocations: 4.453 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4325, allocations: 4 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.4331, allocations: 0.5174 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.4332, allocations: 124.6 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.4333, allocations: 15.92 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4335, allocations: 11.98 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.4336, allocations: 31.97 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.4336, allocations: 15.98 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005069/0.4341, allocations: 431.1 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4341, allocations: 4 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004617/0.4346, allocations: 111.8 kB / 1.083 GB, free: 10.18 MB / 0.8419 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.0003047/0.4349, allocations: 141.4 kB / 1.083 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.4354, allocations: 355.6 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4355, allocations: 0 / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.4357, allocations: 187.8 kB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.436, allocations: 37.95 kB / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.4373, allocations: 0.9215 MB / 1.085 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.4377, allocations: 0.8353 MB / 1.086 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002152/0.4379, allocations: 98.86 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4381, allocations: 43.42 kB / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.4381, allocations: 0 / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.01277/0.4508, allocations: 7.649 MB / 1.093 GB, free: 15.93 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)