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.007538/0.007538, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001325/0.001325, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.55/1.55, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.68/1.68, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.00156/0.00156, allocations: 67.91 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2432, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002698/0.246, allocations: 1.327 MB / 0.8293 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005424/0.2465, allocations: 195.5 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.2466, allocations: 4 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2468, allocations: 7.922 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.2468, allocations: 7.938 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.2472, allocations: 43.89 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.2473, allocations: 51.91 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2474, allocations: 8 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.2475, allocations: 23.92 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.2476, allocations: 27.91 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.2476, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.2476, allocations: 8 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2477, allocations: 15.92 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.2478, allocations: 31.8 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.2479, allocations: 75.64 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2479, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2479, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.248, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 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.000647/0.2486, allocations: 412.8 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2487, allocations: 8.031 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.2487, allocations: 12.89 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.2489, allocations: 192.2 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2489, allocations: 4.312 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2489, allocations: 8.375 kB / 0.8304 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2491, allocations: 82.2 kB / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2491, allocations: 4.125 kB / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2492, allocations: 7.938 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2492, allocations: 3.938 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.2493, allocations: 43.97 kB / 0.8305 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.2499, allocations: 336.8 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.2501, allocations: 114.5 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.2502, allocations: 68.8 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2502, allocations: 80 / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.2504, allocations: 95.31 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2505, allocations: 4 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003417/0.2508, allocations: 149.6 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.2509, allocations: 55.41 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.251, allocations: 133.6 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.251, allocations: 29.81 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.2511, allocations: 92.08 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.2511, allocations: 27.78 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2512, allocations: 33.64 kB / 0.8316 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2513, allocations: 326.8 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.2514, allocations: 35.97 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.2515, allocations: 54.56 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2516, allocations: 86.55 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2516, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002022/0.2518, allocations: 129.5 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2518, allocations: 15.97 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2518, allocations: 0 / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2519, allocations: 0 / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.2519, allocations: 12 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.252, allocations: 0 / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.252, allocations: 4.375 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.2521, allocations: 28.02 kB / 0.8323 GB, free: 11.56 MB / 0.6544 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.2522, allocations: 131.5 kB / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.2522, allocations: 15.94 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.2523, allocations: 16.3 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2523, allocations: 4 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2523, allocations: 0 / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2523, allocations: 0 / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.2528, allocations: 418.3 kB / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2528, allocations: 0 / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.2528, allocations: 3.938 kB / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2528, allocations: 4 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2528, allocations: 3.984 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.2529, allocations: 11.98 kB / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2529, allocations: 0 / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.2531, allocations: 215.4 kB / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.2531, allocations: 85.06 kB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.2532, allocations: 7.984 kB / 0.8332 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.2532, allocations: 0 / 0.8332 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2533, allocations: 11.92 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.2533, allocations: 31.95 kB / 0.8332 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.2534, allocations: 95.27 kB / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2534, allocations: 4 kB / 0.8333 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002506/0.2537, allocations: 12 kB / 0.8333 GB, free: 10.41 MB / 0.6544 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 (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.000124/0.2538, allocations: 107.2 kB / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.254, allocations: 91.88 kB / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.254, allocations: 0 / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.2541, allocations: 44.23 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.2546, allocations: 81.2 kB / 0.8336 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.255, allocations: 205.2 kB / 0.8338 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.2553, allocations: 0.6922 MB / 0.8345 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.394e-05/0.2554, allocations: 12.44 kB / 0.8345 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.2554, allocations: 19.42 kB / 0.8345 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of SimCode: time 6.52e-07/0.2555, allocations: 0 / 0.8345 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of Templates: time 0.00546/0.2609, allocations: 1.636 MB / 0.8361 GB, free: 7.508 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (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)