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.001293/0.001293, 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.00139/0.00139, allocations: 192.2 kB / 16.25 MB, free: 6.617 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.88 kB / 0.9116 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3948, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004679/0.3995, allocations: 2.506 MB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003269/0.4028, allocations: 1.567 MB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.4034, allocations: 7.938 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.4043, allocations: 311.1 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.4054, allocations: 303 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.4069, allocations: 410.1 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.4084, allocations: 0.7128 MB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.4087, allocations: 77.73 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.4095, allocations: 334.5 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.4101, allocations: 330.7 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.4103, allocations: 28 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.4106, allocations: 91.95 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.4109, allocations: 199.3 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.4113, allocations: 274.1 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.4123, allocations: 0.7281 MB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4123, allocations: 8 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.548e-06/0.4123, allocations: 3.984 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.605e-05/0.4124, allocations: 3.938 kB / 1.075 GB, free: 2.867 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.002095/0.4145, allocations: 0.9951 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4145, allocations: 12.03 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.4148, allocations: 75.94 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.4159, allocations: 0.6211 MB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.416, allocations: 12.38 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.416, allocations: 15.92 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.4165, allocations: 199.4 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4165, allocations: 3.938 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.4165, allocations: 0 / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4166, allocations: 8 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.4168, allocations: 95.88 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.4185, allocations: 1.056 MB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.4191, allocations: 273 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.4193, allocations: 108.2 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.4194, allocations: 7.984 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.4198, allocations: 231.3 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/0.4198, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.001038/0.4209, allocations: 425.7 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.421, allocations: 174 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.4223, allocations: 1.032 MB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.4223, allocations: 33.7 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.4226, allocations: 284.9 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.4227, allocations: 79.08 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.4229, allocations: 146.1 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4231, allocations: 330 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.4235, allocations: 209.2 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.4239, allocations: 307 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.4246, allocations: 410.6 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4247, allocations: 0 / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00125/0.4259, allocations: 0.6732 MB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.426, allocations: 8 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.426, allocations: 0 / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.426, allocations: 8 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.4264, allocations: 115.8 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.4265, allocations: 7.938 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.4268, allocations: 51.75 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.4269, allocations: 24 kB / 1.083 GB, free: 10.51 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.000391/0.4273, allocations: 271 kB / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.4274, allocations: 75.06 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.4276, allocations: 73.88 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4276, allocations: 4 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4276, allocations: 3.938 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4276, allocations: 4 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.4282, allocations: 465.1 kB / 1.084 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.4282, allocations: 4 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.4283, allocations: 27.92 kB / 1.084 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4283, allocations: 4 kB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.4283, allocations: 7.984 kB / 1.084 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4284, allocations: 4.062 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4284, allocations: 7.938 kB / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.4291, allocations: 388.4 kB / 1.084 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.4293, allocations: 164.1 kB / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.4293, allocations: 12 kB / 1.085 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4295, allocations: 11.98 kB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.4296, allocations: 31.84 kB / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.4297, allocations: 23.98 kB / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008091/0.4305, allocations: 0.5966 MB / 1.085 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4305, allocations: 0 / 1.085 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005069/0.431, allocations: 116 kB / 1.085 GB, free: 8.145 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.00143/0.4324, allocations: 485 kB / 1.086 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009071/0.4334, allocations: 415 kB / 1.086 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4334, allocations: 4 kB / 1.086 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.4337, allocations: 104.6 kB / 1.086 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4347, allocations: 221.9 kB / 1.087 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.4367, allocations: 1.237 MB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.4374, allocations: 0.9324 MB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00037/0.4378, allocations: 112.9 kB / 1.089 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.4379, allocations: 55.42 kB / 1.089 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of SimCode: time 7.02e-07/0.4379, allocations: 3.938 kB / 1.089 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of Templates: time 0.01717/0.4551, allocations: 7.672 MB / 1.096 GB, free: 13.14 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)