Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 197.2 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009668, allocations: 102.3 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 53.75 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2882, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003458/0.2917, allocations: 2.498 MB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2939, allocations: 1.568 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.2943, allocations: 11.88 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.2948, allocations: 303.2 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.2954, allocations: 299 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.2962, allocations: 422.1 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.2968, allocations: 0.6582 MB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.297, allocations: 85.7 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.2974, allocations: 294.5 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.2977, allocations: 314.7 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.2978, allocations: 12 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.298, allocations: 71.91 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2982, allocations: 175.3 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2984, allocations: 254.2 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.2989, allocations: 0.718 MB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2989, allocations: 0 / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2989, allocations: 0 / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.2989, allocations: 0 / 1.226 GB, free: 109.5 MB / 0.823 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.001368/0.3003, allocations: 1.003 MB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3003, allocations: 11.98 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.3005, allocations: 79.98 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.3013, allocations: 0.621 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3013, allocations: 8.375 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.3013, allocations: 23.92 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.3017, allocations: 195.5 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3017, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3017, allocations: 11.98 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3017, allocations: 4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.302, allocations: 95.88 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3034, allocations: 1.056 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008037/0.3042, allocations: 281 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.3045, allocations: 100.2 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.3046, allocations: 8 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004809/0.305, allocations: 228.4 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 2.314e-06/0.3051, allocations: 4 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.001319/0.3064, allocations: 425.5 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3065, allocations: 166.1 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.308, allocations: 1.032 MB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3081, allocations: 37.69 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.3083, allocations: 284.9 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.3084, allocations: 83.08 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.3087, allocations: 146 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.3087, allocations: 326 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.3093, allocations: 213.2 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.3098, allocations: 311 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.3108, allocations: 416.9 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3108, allocations: 0 / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001524/0.3123, allocations: 0.663 MB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3123, allocations: 8.156 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3124, allocations: 4 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3124, allocations: 4 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.313, allocations: 115.8 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.313, allocations: 11.94 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.3135, allocations: 43.67 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.3135, allocations: 27.98 kB / 1.233 GB, free: 101.2 MB / 0.823 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.0003475/0.3139, allocations: 274.2 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.314, allocations: 79.06 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3142, allocations: 73.88 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3142, allocations: 4 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3142, allocations: 3.938 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3142, allocations: 4 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.3147, allocations: 457.2 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3148, allocations: 4.188 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.3149, allocations: 27.92 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3149, allocations: 0 / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3149, allocations: 11.98 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3149, allocations: 4 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.315, allocations: 7.938 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.3164, allocations: 1.166 MB / 1.235 GB, free: 98.93 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.3167, allocations: 160.1 kB / 1.236 GB, free: 98.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.3168, allocations: 8 kB / 1.236 GB, free: 98.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3171, allocations: 23.95 kB / 1.236 GB, free: 98.72 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.3171, allocations: 19.97 kB / 1.236 GB, free: 98.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.3172, allocations: 12 kB / 1.236 GB, free: 98.69 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008955/0.3181, allocations: 0.6083 MB / 1.236 GB, free: 98.08 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3181, allocations: 0 / 1.236 GB, free: 98.08 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008441/0.319, allocations: 116 kB / 1.236 GB, free: 97.97 MB / 0.823 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.001502/0.3205, allocations: 491 kB / 1.237 GB, free: 97.67 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009995/0.3215, allocations: 392.8 kB / 1.237 GB, free: 97.29 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3215, allocations: 4 kB / 1.237 GB, free: 97.28 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.3219, allocations: 108.3 kB / 1.237 GB, free: 97.18 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.3232, allocations: 205.2 kB / 1.237 GB, free: 96.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.3251, allocations: 1.421 MB / 1.239 GB, free: 95.51 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.3255, allocations: 0.9404 MB / 1.24 GB, free: 94.54 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003624/0.3259, allocations: 117 kB / 1.24 GB, free: 94.42 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.3261, allocations: 55.42 kB / 1.24 GB, free: 94.37 MB / 0.823 GB Notification: Performance of SimCode: time 1.262e-06/0.3261, allocations: 0 / 1.24 GB, free: 94.37 MB / 0.823 GB Notification: Performance of Templates: time 0.0181/0.3442, allocations: 7.649 MB / 1.247 GB, free: 86.79 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)