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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.3 MB / 308.1 MB, free: 4.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 195.7 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.1 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001055, allocations: 96.55 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3177, allocations: 114.6 MB / 0.9823 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004283/0.3221, allocations: 2.503 MB / 0.9847 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3248, allocations: 1.463 MB / 0.9861 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.325, allocations: 11.88 kB / 0.9861 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.3257, allocations: 303.2 kB / 0.9864 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.3264, allocations: 310.9 kB / 0.9867 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3275, allocations: 367.4 kB / 0.9871 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008755/0.3284, allocations: 0.6621 MB / 0.9877 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.3286, allocations: 77.73 kB / 0.9878 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.3291, allocations: 298.5 kB / 0.9881 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.3294, allocations: 310.7 kB / 0.9884 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.3295, allocations: 12 kB / 0.9884 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.3298, allocations: 67.97 kB / 0.9885 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.33, allocations: 179.3 kB / 0.9886 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.3303, allocations: 250.1 kB / 0.9889 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.331, allocations: 0.7241 MB / 0.9896 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.331, allocations: 0 / 0.9896 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.331, allocations: 0 / 0.9896 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.331, allocations: 0 / 0.9896 GB, free: 2.84 MB / 0.7136 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.001582/0.3326, allocations: 0.9912 MB / 0.9905 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3327, allocations: 12.03 kB / 0.9905 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.3328, allocations: 72 kB / 0.9906 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008902/0.3337, allocations: 0.6327 MB / 0.9912 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3337, allocations: 12.38 kB / 0.9912 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.3338, allocations: 15.94 kB / 0.9913 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.3342, allocations: 197.8 kB / 0.9914 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3342, allocations: 3.938 kB / 0.9915 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.3342, allocations: 11.98 kB / 0.9915 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3342, allocations: 4 kB / 0.9915 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.3345, allocations: 95.88 kB / 0.9916 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.3358, allocations: 1.059 MB / 0.9926 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.3365, allocations: 277 kB / 0.9929 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3367, allocations: 112.2 kB / 0.993 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.3367, allocations: 7.984 kB / 0.993 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.3371, allocations: 219.5 kB / 0.9932 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.3372, allocations: 0 / 0.9932 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0009534/0.3381, allocations: 421.5 kB / 0.9936 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.3382, allocations: 178 kB / 0.9938 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3394, allocations: 1.028 MB / 0.9948 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3394, allocations: 37.7 kB / 0.9948 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.3397, allocations: 288.8 kB / 0.9951 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.3397, allocations: 71.09 kB / 0.9951 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.3399, allocations: 142.1 kB / 0.9953 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3401, allocations: 334 kB / 0.9956 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.3405, allocations: 217.2 kB / 0.9958 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.3409, allocations: 303 kB / 0.9961 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.3415, allocations: 400.4 kB / 0.9965 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3416, allocations: 4 kB / 0.9965 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001098/0.3427, allocations: 0.6722 MB / 0.9971 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3427, allocations: 8 kB / 0.9971 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3427, allocations: 7.984 kB / 0.9971 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3427, allocations: 4 kB / 0.9971 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.3431, allocations: 115.8 kB / 0.9973 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.3432, allocations: 7.938 kB / 0.9973 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.3434, allocations: 51.83 kB / 0.9973 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.3435, allocations: 23.98 kB / 0.9973 GB, free: 10.46 MB / 0.7292 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.0003197/0.3438, allocations: 273.6 kB / 0.9976 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.3439, allocations: 71.06 kB / 0.9977 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.3441, allocations: 65.89 kB / 0.9977 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3441, allocations: 7.984 kB / 0.9977 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.3441, allocations: 11.92 kB / 0.9977 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3441, allocations: 0 / 0.9977 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.3446, allocations: 469.1 kB / 0.9982 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3446, allocations: 4.188 kB / 0.9982 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.3447, allocations: 27.92 kB / 0.9982 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3447, allocations: 4 kB / 0.9982 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3447, allocations: 8 kB / 0.9982 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3447, allocations: 3.984 kB / 0.9982 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3447, allocations: 7.938 kB / 0.9983 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.346, allocations: 1.157 MB / 0.9994 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3462, allocations: 164.1 kB / 0.9995 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.3463, allocations: 8 kB / 0.9995 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3465, allocations: 23.97 kB / 0.9996 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.3466, allocations: 23.92 kB / 0.9996 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.3466, allocations: 19.92 kB / 0.9996 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007062/0.3473, allocations: 0.6005 MB / 1 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3473, allocations: 0 / 1 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005302/0.3478, allocations: 116 kB / 1 GB, free: 7.266 MB / 0.7292 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.001146/0.349, allocations: 486.8 kB / 1.001 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008894/0.3499, allocations: 395.9 kB / 1.001 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3499, allocations: 4.062 kB / 1.001 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.3502, allocations: 112.2 kB / 1.001 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.3511, allocations: 199.2 kB / 1.001 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.353, allocations: 1.432 MB / 1.003 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.3535, allocations: 0.9327 MB / 1.004 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.3538, allocations: 109.1 kB / 1.004 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3539, allocations: 59.42 kB / 1.004 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.3539, allocations: 0 / 1.004 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of Templates: time 0.01589/0.3698, allocations: 7.652 MB / 1.011 GB, free: 12.01 MB / 0.7448 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)