Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001755/0.001755, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.003608/0.003608, allocations: 189.2 kB / 16.25 MB, free: 6.621 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.514/1.514, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.95 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3916, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003906/0.3956, allocations: 0.9122 MB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.3992, allocations: 1.455 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.3995, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006666/0.4002, allocations: 187.6 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.4005, allocations: 111.7 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.402, allocations: 334.3 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.4034, allocations: 0.8619 MB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.4037, allocations: 96.23 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006518/0.4044, allocations: 351.3 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.4051, allocations: 267.3 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.4053, allocations: 44 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.4057, allocations: 111.9 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004738/0.4062, allocations: 347.3 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.4067, allocations: 278.8 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.4079, allocations: 0.8964 MB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4079, allocations: 0 / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.415e-06/0.408, allocations: 0 / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.408, allocations: 0 / 1.074 GB, free: 4.551 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.002288/0.4103, allocations: 0.8919 MB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4103, allocations: 12.03 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002935/0.4106, allocations: 52.38 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.4116, allocations: 0.5448 MB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.4117, allocations: 24.61 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.4118, allocations: 32.38 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.4124, allocations: 314.2 kB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4124, allocations: 192 / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.4125, allocations: 11.94 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4125, allocations: 0 / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.4129, allocations: 223.8 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.415, allocations: 1.187 MB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.4157, allocations: 475.8 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.416, allocations: 174.6 kB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.416, allocations: 7.938 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.4165, allocations: 333.5 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.4165, allocations: 0 / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.001101/0.4176, allocations: 0.6187 MB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.4178, allocations: 126.7 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008326/0.4186, allocations: 0.5954 MB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.4188, allocations: 45.69 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.4191, allocations: 226.2 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.4192, allocations: 55.41 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/0.4196, allocations: 181.5 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002387/0.4199, allocations: 362.7 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.4201, allocations: 131.9 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009731/0.4211, allocations: 0.7137 MB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.4215, allocations: 296.6 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4215, allocations: 0 / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007956/0.4223, allocations: 420.7 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4223, allocations: 5.719 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4223, allocations: 4 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.4224, allocations: 12.31 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.4226, allocations: 35.86 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4226, allocations: 4 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.424, allocations: 127.9 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.424, allocations: 12.25 kB / 1.082 GB, free: 11.86 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.0003251/0.4243, allocations: 265.6 kB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.4244, allocations: 39.52 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.4245, allocations: 59.3 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4245, allocations: 4 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4245, allocations: 0 / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4246, allocations: 0 / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.425, allocations: 417.2 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.425, allocations: 0 / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.425, allocations: 7.938 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.425, allocations: 0 / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.4251, allocations: 15.92 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.4251, allocations: 4 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4251, allocations: 0 / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.4259, allocations: 0.5136 MB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.426, allocations: 128.6 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.4261, allocations: 7.938 kB / 1.083 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4263, allocations: 19.97 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.4264, allocations: 27.97 kB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.4265, allocations: 19.94 kB / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005372/0.427, allocations: 431.1 kB / 1.084 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.427, allocations: 0 / 1.084 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005011/0.4275, allocations: 115.8 kB / 1.084 GB, free: 9.707 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.000266/0.4278, allocations: 145.4 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006632/0.4285, allocations: 363.6 kB / 1.084 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4285, allocations: 0.75 kB / 1.084 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.4287, allocations: 191.8 kB / 1.084 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4291, allocations: 41.95 kB / 1.084 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4304, allocations: 0.9129 MB / 1.085 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.4309, allocations: 0.835 MB / 1.086 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.4312, allocations: 94.92 kB / 1.086 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4313, allocations: 39.42 kB / 1.086 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4313, allocations: 0 / 1.086 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.01375/0.445, allocations: 7.91 MB / 1.094 GB, free: 15.2 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)