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.001468/0.001468, 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.001659/0.001659, allocations: 195.6 kB / 16.14 MB, free: 6.656 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.523/1.523, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 68.73 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4223, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.005683/0.428, allocations: 2.519 MB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.4312, allocations: 1.575 MB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.4315, allocations: 7.938 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.4323, allocations: 303.2 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.4329, allocations: 310.9 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.4339, allocations: 406.3 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000772/0.4347, allocations: 0.666 MB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.4349, allocations: 73.73 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.4354, allocations: 286.6 kB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.4357, allocations: 314.6 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.4358, allocations: 12 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.436, allocations: 67.97 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.4363, allocations: 187.3 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.4365, allocations: 258.1 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.4373, allocations: 0.7124 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4373, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4373, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4374, allocations: 0 / 1.075 GB, free: 3.25 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.001703/0.4391, allocations: 1.003 MB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4391, allocations: 12.03 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.4393, allocations: 76 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.4402, allocations: 0.621 MB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.4402, allocations: 16.36 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.4403, allocations: 19.94 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.4407, allocations: 194.5 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4407, allocations: 0 / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.4408, allocations: 8 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4408, allocations: 4 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.4411, allocations: 99.81 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.4427, allocations: 1.052 MB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.4433, allocations: 281 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.4436, allocations: 108.2 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.4436, allocations: 7.984 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.4441, allocations: 229 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.4441, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.001037/0.4451, allocations: 421.6 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4453, allocations: 166.2 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.4467, allocations: 1.028 MB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.4468, allocations: 45.58 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.4472, allocations: 288.8 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.4473, allocations: 79.09 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.4475, allocations: 138.1 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4477, allocations: 334 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.448, allocations: 209.2 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.4485, allocations: 303 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006518/0.4491, allocations: 410 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4492, allocations: 4 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001184/0.4504, allocations: 0.6658 MB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4504, allocations: 7.984 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4504, allocations: 4.125 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.4504, allocations: 8 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.4509, allocations: 111.8 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.4509, allocations: 20.08 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.4512, allocations: 43.67 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.4513, allocations: 24 kB / 1.083 GB, free: 10.89 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.0003591/0.4517, allocations: 273.6 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.4518, allocations: 75.06 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.4519, allocations: 73.88 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.452, allocations: 4 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.452, allocations: 3.938 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.452, allocations: 7.984 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.4526, allocations: 469.1 kB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4526, allocations: 4 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.4526, allocations: 19.94 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4527, allocations: 0 / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.4527, allocations: 11.98 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4527, allocations: 4 kB / 1.084 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4527, allocations: 3.938 kB / 1.084 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.4534, allocations: 396.4 kB / 1.084 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.4536, allocations: 160.1 kB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/0.4537, allocations: 8 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.4539, allocations: 19.97 kB / 1.084 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.4539, allocations: 23.92 kB / 1.084 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.454, allocations: 15.98 kB / 1.084 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007487/0.4547, allocations: 0.6083 MB / 1.085 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4547, allocations: 0 / 1.085 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004555/0.4552, allocations: 112 kB / 1.085 GB, free: 8.52 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.001282/0.4565, allocations: 482.9 kB / 1.085 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007994/0.4573, allocations: 403.4 kB / 1.086 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4573, allocations: 4.312 kB / 1.086 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.4576, allocations: 107.8 kB / 1.086 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009411/0.4585, allocations: 200 kB / 1.086 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.4604, allocations: 1.25 MB / 1.087 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.4611, allocations: 0.921 MB / 1.088 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003308/0.4615, allocations: 112.9 kB / 1.088 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.4616, allocations: 55.42 kB / 1.088 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4616, allocations: 0 / 1.088 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of Templates: time 0.01602/0.4776, allocations: 7.421 MB / 1.096 GB, free: 13.79 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)