Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001904/0.001904, allocations: 198.5 kB / 16.14 MB, free: 6.074 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.08 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4169, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002107/0.4191, allocations: 0.7487 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4209, allocations: 1.349 MB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.4209, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.4214, allocations: 183.6 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.4216, allocations: 103.7 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.4222, allocations: 202.9 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.4227, allocations: 443.7 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.4227, allocations: 7.984 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.4229, allocations: 187.6 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.4232, allocations: 199.6 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-05/0.4233, allocations: 12 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.4236, allocations: 71.94 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.4239, allocations: 239.5 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.4241, allocations: 139.3 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.4246, allocations: 463 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4246, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4246, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.4246, allocations: 3.938 kB / 1.072 GB, free: 6.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009422/0.4255, allocations: 0.6384 MB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4256, allocations: 8.031 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.4257, allocations: 32.66 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.4262, allocations: 388 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4263, allocations: 12.38 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.4263, allocations: 20.38 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.4267, allocations: 188.7 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4267, allocations: 4.125 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.4267, allocations: 7.922 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4267, allocations: 4 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.4269, allocations: 103.9 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.4273, allocations: 383.2 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.4278, allocations: 323.6 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.428, allocations: 126.5 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.428, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/0.4285, allocations: 277.6 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.4285, allocations: 0 / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008203/0.4293, allocations: 0.4931 MB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.4294, allocations: 118.8 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.4298, allocations: 396.5 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.4299, allocations: 37.7 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.43, allocations: 156.7 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.4301, allocations: 43.47 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.4302, allocations: 121.5 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4304, allocations: 342.8 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.4305, allocations: 87.95 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.431, allocations: 472 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.4313, allocations: 257.5 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4313, allocations: 4 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004759/0.4318, allocations: 324.8 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4318, allocations: 9.094 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4318, allocations: 4 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4319, allocations: 4.406 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.432, allocations: 35.92 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.4321, allocations: 15.92 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.4328, allocations: 60.19 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4329, allocations: 16 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002014/0.4331, allocations: 199.9 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.4331, allocations: 27.66 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.4332, allocations: 33.89 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4332, allocations: 0 / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4332, allocations: 4 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4332, allocations: 3.984 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.4335, allocations: 281.4 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4335, allocations: 4 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.4335, allocations: 15.86 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4335, allocations: 7.938 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.4335, allocations: 4 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4335, allocations: 4 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.4336, allocations: 0 / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.4341, allocations: 427 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.4342, allocations: 108.8 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.4342, allocations: 4 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.4343, allocations: 4 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.4344, allocations: 27.91 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.4344, allocations: 12 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000288/0.4347, allocations: 287 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4347, allocations: 0 / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003757/0.4351, allocations: 79.98 kB / 1.079 GB, free: 15.08 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: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000221/0.4353, allocations: 135.2 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.4358, allocations: 261.9 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4358, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.436, allocations: 152 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4363, allocations: 28.58 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009114/0.4372, allocations: 0.6167 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.4375, allocations: 0.7599 MB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000158/0.4377, allocations: 54.11 kB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.4378, allocations: 31.42 kB / 1.08 GB, free: 13 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4378, allocations: 0 / 1.08 GB, free: 13 MB / 0.8419 GB Notification: Performance of Templates: time 0.009001/0.4468, allocations: 4.795 MB / 1.085 GB, free: 8.234 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)