Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.000935, allocations: 100 kB / 15.05 MB, free: 1.105 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.00102/0.00102, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.676/1.676, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.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.0005643/0.0005643, allocations: 15.94 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6465/0.6471, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001686/0.6488, allocations: 1.029 MB / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005188/0.6494, allocations: 187.4 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.6494, allocations: 0 / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.6496, allocations: 3.984 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.6496, allocations: 8 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.6499, allocations: 31.84 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.65, allocations: 35.95 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.6501, allocations: 12 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.6502, allocations: 23.91 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.6503, allocations: 19.92 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.6503, allocations: 4 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.6503, allocations: 0 / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.6504, allocations: 19.91 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.6504, allocations: 33.7 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.6505, allocations: 47.91 kB / 0.7294 GB, free: 9.988 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6505, allocations: 3.938 kB / 0.7294 GB, free: 9.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6505, allocations: 0 / 0.7294 GB, free: 9.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6506, allocations: 0 / 0.7294 GB, free: 9.984 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000598/0.6512, allocations: 390.8 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6512, allocations: 12.03 kB / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.6513, allocations: 7.906 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.6515, allocations: 190.8 kB / 0.73 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.6515, allocations: 4 kB / 0.73 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.6515, allocations: 8 kB / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.6517, allocations: 77.66 kB / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.6517, allocations: 0 / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.6517, allocations: 0 / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6518, allocations: 11.94 kB / 0.7301 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.6519, allocations: 43.97 kB / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.6524, allocations: 340.7 kB / 0.7304 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.6526, allocations: 118.5 kB / 0.7305 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.6527, allocations: 0 / 0.7305 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.6528, allocations: 95.28 kB / 0.7306 GB, free: 8.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.6529, allocations: 0 / 0.7306 GB, free: 8.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003076/0.6532, allocations: 157.5 kB / 0.7308 GB, free: 8.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.6532, allocations: 51.41 kB / 0.7308 GB, free: 8.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.6533, allocations: 141.5 kB / 0.731 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.6534, allocations: 29.7 kB / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.6534, allocations: 88.14 kB / 0.7311 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.6535, allocations: 23.97 kB / 0.7311 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.6535, allocations: 4 kB / 0.7311 GB, free: 8.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6536, allocations: 318.8 kB / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.6537, allocations: 35.98 kB / 0.7315 GB, free: 7.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.6537, allocations: 54.66 kB / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.6538, allocations: 43.86 kB / 0.7315 GB, free: 7.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6538, allocations: 0 / 0.7315 GB, free: 7.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001735/0.654, allocations: 129.5 kB / 0.7317 GB, free: 7.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.654, allocations: 11.98 kB / 0.7317 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.654, allocations: 4 kB / 0.7317 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.6541, allocations: 4.031 kB / 0.7317 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.6541, allocations: 8 kB / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6541, allocations: 0 / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.6542, allocations: 11.86 kB / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.6543, allocations: 31.94 kB / 0.7317 GB, free: 7.355 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.6544, allocations: 125.8 kB / 0.7319 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.6544, allocations: 4 kB / 0.7319 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.6544, allocations: 8.375 kB / 0.7319 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6545, allocations: 7.984 kB / 0.7319 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6545, allocations: 0 / 0.7319 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6545, allocations: 0 / 0.7319 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.6549, allocations: 422.6 kB / 0.7323 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6549, allocations: 0 / 0.7323 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.6549, allocations: 4 kB / 0.7323 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6549, allocations: 4 kB / 0.7323 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.655, allocations: 7.984 kB / 0.7323 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.655, allocations: 0 / 0.7323 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.655, allocations: 3.953 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.6552, allocations: 215.4 kB / 0.7325 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.6552, allocations: 77.11 kB / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.6552, allocations: 7.984 kB / 0.7326 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.6553, allocations: 4 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.6554, allocations: 11.98 kB / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.6554, allocations: 35.84 kB / 0.7326 GB, free: 6.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.6555, allocations: 95.2 kB / 0.7327 GB, free: 6.242 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6555, allocations: 0 / 0.7327 GB, free: 6.242 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002234/0.6557, allocations: 23.91 kB / 0.7327 GB, free: 6.219 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.6558, allocations: 99.23 kB / 0.7328 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.656, allocations: 99.89 kB / 0.7329 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.656, allocations: 0 / 0.7329 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.6561, allocations: 43.92 kB / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.6565, allocations: 62.55 kB / 0.733 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.6569, allocations: 213.5 kB / 0.7332 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.6572, allocations: 0.6965 MB / 0.7339 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.951e-05/0.6573, allocations: 12.42 kB / 0.7339 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.6573, allocations: 19.38 kB / 0.734 GB, free: 4.914 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6573, allocations: 0 / 0.734 GB, free: 4.914 MB / 0.545 GB Notification: Performance of Templates: time 0.004304/0.6617, allocations: 1.514 MB / 0.7354 GB, free: 3.422 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) Environment - environmentSimulation: