Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.919/1.919, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001578/0.001579, allocations: 179.6 kB / 376.9 MB, free: 1.801 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.869/1.869, allocations: 205.1 MB / 0.6354 GB, free: 9.766 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.001355/0.001355, allocations: 98.06 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3361, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002789/0.3389, allocations: 0.9317 MB / 0.9831 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3414, allocations: 1.456 MB / 0.9846 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3416, allocations: 3.938 kB / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.3421, allocations: 195.5 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3424, allocations: 95.69 kB / 0.9849 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3435, allocations: 327.5 kB / 0.9852 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009525/0.3445, allocations: 0.7683 MB / 0.9859 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.3447, allocations: 100.2 kB / 0.986 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.3453, allocations: 303.4 kB / 0.9863 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.3458, allocations: 243.3 kB / 0.9865 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.3461, allocations: 20 kB / 0.9866 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.3464, allocations: 87.88 kB / 0.9866 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.3469, allocations: 311.3 kB / 0.9869 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.3474, allocations: 238.8 kB / 0.9872 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.3484, allocations: 0.8729 MB / 0.988 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3484, allocations: 0 / 0.988 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3484, allocations: 0 / 0.988 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.3484, allocations: 0 / 0.988 GB, free: 4.418 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002126/0.3505, allocations: 0.8918 MB / 0.9889 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3506, allocations: 16.03 kB / 0.9889 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.3509, allocations: 48.47 kB / 0.9889 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3519, allocations: 0.537 MB / 0.9895 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.3519, allocations: 24.59 kB / 0.9895 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3521, allocations: 36.38 kB / 0.9895 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.3526, allocations: 306.2 kB / 0.9898 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3526, allocations: 192 / 0.9898 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.3526, allocations: 11.94 kB / 0.9898 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3527, allocations: 4 kB / 0.9898 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.353, allocations: 223.8 kB / 0.99 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3553, allocations: 1.18 MB / 0.9912 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.3559, allocations: 467.8 kB / 0.9916 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.3562, allocations: 178.6 kB / 0.9918 GB, free: 328 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3562, allocations: 11.94 kB / 0.9918 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.3567, allocations: 340.4 kB / 0.9922 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.3567, allocations: 0 / 0.9922 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.001098/0.3578, allocations: 0.6257 MB / 0.9928 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.3579, allocations: 118.7 kB / 0.9929 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/0.3589, allocations: 0.5993 MB / 0.9935 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/0.359, allocations: 45.64 kB / 0.9935 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.3592, allocations: 222.6 kB / 0.9937 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.3593, allocations: 47.42 kB / 0.9938 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.3596, allocations: 185.5 kB / 0.9939 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3598, allocations: 362.8 kB / 0.9943 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.36, allocations: 123.9 kB / 0.9944 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008277/0.3608, allocations: 0.7174 MB / 0.9951 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.3612, allocations: 304.6 kB / 0.9954 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3612, allocations: 0 / 0.9954 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006637/0.3619, allocations: 424.9 kB / 0.9958 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3619, allocations: 4 kB / 0.9958 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3619, allocations: 4 kB / 0.9958 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.3619, allocations: 15.94 kB / 0.9958 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.3621, allocations: 31.86 kB / 0.9959 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3621, allocations: 4 kB / 0.9959 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.3633, allocations: 136.2 kB / 0.996 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3634, allocations: 12 kB / 0.996 GB, free: 11.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003012/0.3637, allocations: 266.2 kB / 0.9963 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.3637, allocations: 39.44 kB / 0.9963 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.891e-05/0.3638, allocations: 59.3 kB / 0.9963 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3639, allocations: 4 kB / 0.9964 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3639, allocations: 0 / 0.9964 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3639, allocations: 0 / 0.9964 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.3643, allocations: 405.3 kB / 0.9967 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3643, allocations: 0 / 0.9967 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.3643, allocations: 11.88 kB / 0.9967 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3643, allocations: 0 / 0.9967 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3643, allocations: 19.92 kB / 0.9968 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3644, allocations: 4 kB / 0.9968 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3644, allocations: 0 / 0.9968 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.3656, allocations: 1.343 MB / 0.9981 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.3657, allocations: 128.6 kB / 0.9982 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.3658, allocations: 8 kB / 0.9982 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3659, allocations: 15.98 kB / 0.9982 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.366, allocations: 39.89 kB / 0.9983 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3661, allocations: 8 kB / 0.9983 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004788/0.3666, allocations: 435.1 kB / 0.9987 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3666, allocations: 0 / 0.9987 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005975/0.3672, allocations: 115.8 kB / 0.9988 GB, free: 8.707 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002969/0.3675, allocations: 153.4 kB / 0.9989 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006353/0.3681, allocations: 347.5 kB / 0.9993 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3681, allocations: 0 / 0.9993 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.3684, allocations: 187.9 kB / 0.9995 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3688, allocations: 42.69 kB / 0.9995 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3705, allocations: 1.101 MB / 1.001 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.371, allocations: 0.8503 MB / 1.001 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.3713, allocations: 94.86 kB / 1.001 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3714, allocations: 31.44 kB / 1.002 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.3714, allocations: 4 kB / 1.002 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of Templates: time 0.01358/0.385, allocations: 7.865 MB / 1.009 GB, free: 14.01 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)