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.008104/0.008103, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001378/0.001378, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.747/1.747, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.735/1.735, allocations: 251.7 MB / 0.5094 GB, free: 3.117 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.001436/0.001436, allocations: 71.89 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2663, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.00334/0.2698, allocations: 1.315 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.2705, allocations: 199.5 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.2705, allocations: 7.938 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.2707, allocations: 7.922 kB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.2708, allocations: 0 / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.2713, allocations: 47.83 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.2715, allocations: 51.91 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2717, allocations: 8 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2717, allocations: 31.91 kB / 0.8297 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.2718, allocations: 19.92 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.2719, allocations: 8 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.2719, allocations: 4 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.272, allocations: 19.92 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.321e-05/0.272, allocations: 31.78 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.2723, allocations: 71.77 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2723, allocations: 0 / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.185e-06/0.2723, allocations: 0 / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.2723, allocations: 4 kB / 0.8298 GB, free: 14.39 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.0008964/0.2732, allocations: 412.8 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.2733, allocations: 12.03 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.2734, allocations: 4.938 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.2736, allocations: 184.2 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2736, allocations: 8.312 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2737, allocations: 4.375 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.2739, allocations: 82.2 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2739, allocations: 4.188 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2739, allocations: 3.938 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.274, allocations: 3.984 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.2741, allocations: 43.92 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.2749, allocations: 344.7 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.2753, allocations: 126.5 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.2754, allocations: 64.83 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.2755, allocations: 0 / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.2757, allocations: 95.31 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2757, allocations: 0 / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003865/0.2761, allocations: 153.4 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.2762, allocations: 59.39 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.2764, allocations: 125.7 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2765, allocations: 25.81 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.2765, allocations: 99.97 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2766, allocations: 19.75 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.2766, allocations: 37.7 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.2768, allocations: 322.8 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.2769, allocations: 35.98 kB / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.277, allocations: 58.92 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2771, allocations: 86.55 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2771, allocations: 0 / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002264/0.2774, allocations: 137.6 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.2774, allocations: 7.984 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2774, allocations: 0 / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2774, allocations: 0 / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.2775, allocations: 15.94 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2775, allocations: 0 / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.2776, allocations: 4 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.2777, allocations: 23.95 kB / 0.8323 GB, free: 11.59 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.0001183/0.2778, allocations: 134.7 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.2778, allocations: 7.906 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.2779, allocations: 8.375 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2779, allocations: 4 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2779, allocations: 0 / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2779, allocations: 7.922 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.2784, allocations: 410.3 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.2784, allocations: 0 / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.2784, allocations: 7.938 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2784, allocations: 4 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2784, allocations: 480 / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2784, allocations: 3.984 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2784, allocations: 0 / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2787, allocations: 219.3 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2788, allocations: 88.95 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.2788, allocations: 7.984 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.2789, allocations: 0 / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2789, allocations: 15.94 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.279, allocations: 35.94 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.718e-05/0.2791, allocations: 99.42 kB / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2791, allocations: 0 / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002379/0.2793, allocations: 16 kB / 0.8333 GB, free: 10.44 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.0001543/0.2795, allocations: 107.2 kB / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.2797, allocations: 87.89 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2797, allocations: 4.062 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2799, allocations: 43.97 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.2804, allocations: 68.91 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.2808, allocations: 206.5 kB / 0.8338 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.2812, allocations: 0.6922 MB / 0.8345 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.386e-05/0.2812, allocations: 16.42 kB / 0.8345 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.2813, allocations: 19.42 kB / 0.8345 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2813, allocations: 0 / 0.8345 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of Templates: time 0.004808/0.2861, allocations: 1.634 MB / 0.8361 GB, free: 7.539 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)