Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009912/0.0009913, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007456/0.007456, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003965, allocations: 10 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.399, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.00408/0.4031, allocations: 2.151 MB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.4065, allocations: 1.544 MB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.4068, allocations: 11.88 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008547/0.4077, allocations: 307.1 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.4083, allocations: 311 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.4094, allocations: 405.8 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.4102, allocations: 0.6621 MB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.4104, allocations: 73.73 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.4109, allocations: 290.5 kB / 1.08 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.4113, allocations: 306.7 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.4113, allocations: 12 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.4115, allocations: 67.95 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.4117, allocations: 179.3 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.412, allocations: 271.8 kB / 1.081 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.4128, allocations: 0.7045 MB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4128, allocations: 4 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of FrontEnd: time 5.199e-06/0.4128, allocations: 0 / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.4128, allocations: 3.938 kB / 1.081 GB, free: 256 kB / 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.001692/0.4145, allocations: 0.8945 MB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4145, allocations: 8.031 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.4147, allocations: 79.92 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/0.4156, allocations: 0.6173 MB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4157, allocations: 8.375 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.4157, allocations: 19.92 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.4161, allocations: 194.5 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4161, allocations: 0 / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.4161, allocations: 7.984 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.4162, allocations: 0 / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.4164, allocations: 107.8 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.4179, allocations: 1.059 MB / 1.084 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.4186, allocations: 273 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4188, allocations: 104.2 kB / 1.085 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.4189, allocations: 11.98 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.4193, allocations: 229.1 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.4193, allocations: 4 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.0009928/0.4203, allocations: 424.5 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.4204, allocations: 166.1 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.4219, allocations: 1.04 MB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.4219, allocations: 33.7 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.4222, allocations: 292.9 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/0.4223, allocations: 75.08 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4224, allocations: 69.67 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4225, allocations: 326 kB / 1.087 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.4229, allocations: 213.2 kB / 1.087 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.4234, allocations: 311 kB / 1.088 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.424, allocations: 406.5 kB / 1.088 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.424, allocations: 0 / 1.088 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001186/0.4252, allocations: 0.6702 MB / 1.089 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4253, allocations: 9.406 kB / 1.089 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4253, allocations: 8.141 kB / 1.089 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.4253, allocations: 8 kB / 1.089 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.4257, allocations: 115.8 kB / 1.089 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4257, allocations: 7.938 kB / 1.089 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.4261, allocations: 47.66 kB / 1.089 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.4261, allocations: 24 kB / 1.089 GB, free: 8.059 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.0003413/0.4265, allocations: 270.9 kB / 1.089 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4266, allocations: 79.05 kB / 1.089 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.4267, allocations: 77.88 kB / 1.089 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4267, allocations: 4 kB / 1.089 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4267, allocations: 3.938 kB / 1.089 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4267, allocations: 0 / 1.089 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.4273, allocations: 473.1 kB / 1.09 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.4273, allocations: 0 / 1.09 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.4274, allocations: 23.92 kB / 1.09 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4274, allocations: 4 kB / 1.09 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4274, allocations: 11.98 kB / 1.09 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.4274, allocations: 8 kB / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.4274, allocations: 3.938 kB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.4282, allocations: 384.4 kB / 1.09 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.4284, allocations: 176.1 kB / 1.09 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.4285, allocations: 8 kB / 1.09 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.4287, allocations: 15.98 kB / 1.09 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.4288, allocations: 27.84 kB / 1.09 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.4288, allocations: 19.98 kB / 1.09 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008252/0.4296, allocations: 0.6005 MB / 1.091 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4296, allocations: 0 / 1.091 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004844/0.4301, allocations: 119.9 kB / 1.091 GB, free: 5.676 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.001565/0.4317, allocations: 472.4 kB / 1.092 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009161/0.4326, allocations: 411.3 kB / 1.092 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4327, allocations: 0 / 1.092 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.433, allocations: 115.8 kB / 1.092 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4341, allocations: 205.4 kB / 1.092 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4361, allocations: 1.232 MB / 1.093 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/0.4369, allocations: 0.9249 MB / 1.094 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003718/0.4373, allocations: 113.5 kB / 1.094 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4374, allocations: 55.42 kB / 1.094 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of SimCode: time 7.21e-07/0.4375, allocations: 0 / 1.094 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of Templates: time 0.01734/0.4548, allocations: 7.315 MB / 1.102 GB, free: 11.05 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)