Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002471/0.002471, allocations: 192 kB / 16.13 MB, free: 6.703 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.604/1.604, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 69.25 kB / 0.9114 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4173, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003934/0.4212, allocations: 2.519 MB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.424, allocations: 1.571 MB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.4242, allocations: 7.938 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.4248, allocations: 307.2 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.4254, allocations: 302.9 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.4263, allocations: 410.4 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.427, allocations: 0.6582 MB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.4272, allocations: 85.7 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.4276, allocations: 286.6 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.4279, allocations: 310.6 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.428, allocations: 16 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.4282, allocations: 71.97 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.4284, allocations: 179.3 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.4286, allocations: 254.1 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.4293, allocations: 0.7203 MB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4294, allocations: 3.938 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4294, allocations: 0 / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4294, allocations: 0 / 1.075 GB, free: 3.289 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001575/0.431, allocations: 1.007 MB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.431, allocations: 8.031 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.4312, allocations: 72 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.432, allocations: 0.6211 MB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4321, allocations: 16.3 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.4321, allocations: 15.94 kB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.4325, allocations: 198.5 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4325, allocations: 0 / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.4326, allocations: 8 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4326, allocations: 0 / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.4329, allocations: 99.88 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.4342, allocations: 1.048 MB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.4349, allocations: 285 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.4351, allocations: 108.2 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.4352, allocations: 7.984 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.4356, allocations: 233 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.4356, allocations: 0 / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.0009511/0.4365, allocations: 425.6 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.4367, allocations: 166.2 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.4379, allocations: 1.028 MB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4379, allocations: 37.7 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.4382, allocations: 284.8 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.375e-05/0.4383, allocations: 83.02 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.4385, allocations: 150.1 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4386, allocations: 330 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.439, allocations: 209.2 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.4395, allocations: 303 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/0.4402, allocations: 411.9 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4402, allocations: 0 / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001076/0.4413, allocations: 0.6668 MB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4413, allocations: 5.875 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4413, allocations: 4 kB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4413, allocations: 8.156 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.4417, allocations: 115.8 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.4418, allocations: 7.938 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.442, allocations: 51.66 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.4421, allocations: 24 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003067/0.4424, allocations: 269.6 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.4425, allocations: 75 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.4426, allocations: 77.88 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.4427, allocations: 4 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4427, allocations: 7.938 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4427, allocations: 0 / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.4431, allocations: 465.1 kB / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4432, allocations: 0 / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.649e-05/0.4432, allocations: 23.92 kB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4432, allocations: 4 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.4433, allocations: 16.11 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4433, allocations: 4 kB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4433, allocations: 3.938 kB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.444, allocations: 388.4 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.4441, allocations: 164.1 kB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.4442, allocations: 12 kB / 1.084 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4444, allocations: 19.98 kB / 1.084 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.4445, allocations: 23.91 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.4445, allocations: 15.98 kB / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006842/0.4452, allocations: 0.6044 MB / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4452, allocations: 3.938 kB / 1.085 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004082/0.4456, allocations: 112 kB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001172/0.4468, allocations: 480.3 kB / 1.085 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007738/0.4476, allocations: 407.1 kB / 1.086 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4476, allocations: 0 / 1.086 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.4478, allocations: 104.2 kB / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.4487, allocations: 203.7 kB / 1.086 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.4504, allocations: 1.246 MB / 1.087 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.451, allocations: 0.9248 MB / 1.088 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.4512, allocations: 116.9 kB / 1.088 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.4514, allocations: 55.42 kB / 1.088 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4514, allocations: 0 / 1.088 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of Templates: time 0.01494/0.4663, allocations: 7.419 MB / 1.096 GB, free: 13.83 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)