Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002336/0.002336, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 66 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3198, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004081/0.3239, allocations: 2.496 MB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3265, allocations: 1.475 MB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.3267, allocations: 11.88 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.3274, allocations: 299.2 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.328, allocations: 307 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.3289, allocations: 364.5 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.3295, allocations: 0.6582 MB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.3297, allocations: 73.73 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.33, allocations: 286.6 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.3303, allocations: 314.6 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.3304, allocations: 15.98 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3306, allocations: 67.97 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.3308, allocations: 183.3 kB / 0.7891 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.331, allocations: 254.1 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.3316, allocations: 0.7202 MB / 0.79 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3316, allocations: 4 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3316, allocations: 0 / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3316, allocations: 0 / 0.79 GB, free: 6.457 MB / 0.6075 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.001505/0.3332, allocations: 0.999 MB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3332, allocations: 12.03 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.3333, allocations: 72 kB / 0.7911 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.3342, allocations: 0.6249 MB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3342, allocations: 12.38 kB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.3342, allocations: 15.94 kB / 0.7917 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.3346, allocations: 204.6 kB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3346, allocations: 0 / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3347, allocations: 4 kB / 0.7919 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3347, allocations: 4 kB / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.3349, allocations: 95.88 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3362, allocations: 1.052 MB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.3368, allocations: 289 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.337, allocations: 100.2 kB / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.3371, allocations: 11.94 kB / 0.7934 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.3375, allocations: 227.4 kB / 0.7936 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.3375, allocations: 3.938 kB / 0.7936 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.0009551/0.3385, allocations: 416.5 kB / 0.794 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.3386, allocations: 166.2 kB / 0.7942 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.3398, allocations: 1.028 MB / 0.7952 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.3399, allocations: 37.7 kB / 0.7952 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3401, allocations: 292.8 kB / 0.7955 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.3402, allocations: 75.08 kB / 0.7956 GB, free: 436 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3404, allocations: 142.1 kB / 0.7957 GB, free: 288 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3406, allocations: 334 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.3409, allocations: 213.1 kB / 0.7962 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.3413, allocations: 307 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.342, allocations: 410.3 kB / 0.7969 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.342, allocations: 0 / 0.7969 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001096/0.3431, allocations: 0.6759 MB / 0.7976 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3432, allocations: 18.64 kB / 0.7976 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3432, allocations: 0 / 0.7976 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3432, allocations: 8 kB / 0.7976 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.3436, allocations: 111.8 kB / 0.7977 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.3436, allocations: 11.92 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.3439, allocations: 43.67 kB / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.344, allocations: 24 kB / 0.7978 GB, free: 14.09 MB / 0.6231 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.0003319/0.3443, allocations: 274.9 kB / 0.798 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.3444, allocations: 75.06 kB / 0.7981 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.3446, allocations: 77.88 kB / 0.7982 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3446, allocations: 4 kB / 0.7982 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.3446, allocations: 3.938 kB / 0.7982 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3446, allocations: 4 kB / 0.7982 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.3451, allocations: 469.1 kB / 0.7986 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3451, allocations: 0 / 0.7986 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.3451, allocations: 19.94 kB / 0.7987 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3452, allocations: 4 kB / 0.7987 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.3452, allocations: 11.98 kB / 0.7987 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3452, allocations: 4 kB / 0.7987 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3452, allocations: 7.938 kB / 0.7987 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.3459, allocations: 389.6 kB / 0.7991 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.346, allocations: 160.2 kB / 0.7992 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.3461, allocations: 8 kB / 0.7992 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3463, allocations: 19.97 kB / 0.7992 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.3463, allocations: 23.92 kB / 0.7993 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.3464, allocations: 15.98 kB / 0.7993 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000698/0.3471, allocations: 0.6005 MB / 0.7999 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3471, allocations: 3.938 kB / 0.7999 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000426/0.3475, allocations: 120 kB / 0.8 GB, free: 11.72 MB / 0.6231 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.001436/0.349, allocations: 486.7 kB / 0.8005 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000807/0.3498, allocations: 403.2 kB / 0.8008 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3498, allocations: 0 / 0.8008 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.3501, allocations: 103.8 kB / 0.8009 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.351, allocations: 205.7 kB / 0.8011 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3528, allocations: 1.238 MB / 0.8023 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.3532, allocations: 0.921 MB / 0.8032 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002785/0.3535, allocations: 113.5 kB / 0.8033 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.3537, allocations: 63.36 kB / 0.8034 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.3537, allocations: 0 / 0.8034 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of Templates: time 0.01402/0.3677, allocations: 7.427 MB / 0.8107 GB, free: 1.004 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)