Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.624/2.624, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001428/0.001427, allocations: 182 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000976/0.0009757, allocations: 113.5 kB / 0.743 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007249/0.0007252, allocations: 15.62 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2426, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0009017/0.2436, allocations: 345.8 kB / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005165/0.2442, allocations: 188.4 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.2442, allocations: 0 / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.976e-05/0.2443, allocations: 3.938 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.2444, allocations: 7.984 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.2447, allocations: 31.91 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2448, allocations: 47.91 kB / 0.979 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2449, allocations: 15.98 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.245, allocations: 19.92 kB / 0.979 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.245, allocations: 19.92 kB / 0.979 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.2451, allocations: 7.938 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.2451, allocations: 0 / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.2452, allocations: 19.97 kB / 0.979 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.2452, allocations: 33.64 kB / 0.9791 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.565e-05/0.2453, allocations: 47.89 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2453, allocations: 0 / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2453, allocations: 3.938 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2453, allocations: 0 / 0.9791 GB, free: 27.55 MB / 0.6198 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.0005311/0.2459, allocations: 393 kB / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2459, allocations: 12.03 kB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.246, allocations: 7.906 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2462, allocations: 179 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2462, allocations: 7.938 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.2462, allocations: 8 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.2464, allocations: 81.64 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.2465, allocations: 0 / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2465, allocations: 0 / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2465, allocations: 8 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2466, allocations: 43.92 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007345/0.2474, allocations: 340.6 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.2477, allocations: 118.5 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.2478, allocations: 68.84 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.2478, allocations: 0 / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.248, allocations: 87.45 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.2481, allocations: 3.938 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003956/0.2485, allocations: 145.5 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2485, allocations: 67.28 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2486, allocations: 125.8 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2487, allocations: 30.08 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.2487, allocations: 100 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2488, allocations: 15.81 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.2488, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.2488, allocations: 322.8 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.2489, allocations: 35.98 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.249, allocations: 54.66 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.338e-05/0.2492, allocations: 47.92 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2492, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002484/0.2494, allocations: 125.5 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2495, allocations: 6.031 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2495, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2495, allocations: 4 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2496, allocations: 11.92 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2496, allocations: 0 / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2498, allocations: 15.89 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.2498, allocations: 23.95 kB / 0.9815 GB, free: 24.88 MB / 0.6198 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.0001035/0.25, allocations: 127.2 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.25, allocations: 15.94 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.25, allocations: 12.38 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2501, allocations: 3.938 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2501, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2501, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.2506, allocations: 410.4 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2506, allocations: 7.984 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.2507, allocations: 8 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2507, allocations: 0 / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2507, allocations: 0 / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2507, allocations: 4 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2507, allocations: 3.953 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.251, allocations: 215.3 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.2511, allocations: 85.02 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.2511, allocations: 4.188 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2512, allocations: 8 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.2513, allocations: 15.88 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.2514, allocations: 27.94 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.2514, allocations: 99.2 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2515, allocations: 0 / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003263/0.2518, allocations: 19.94 kB / 0.9825 GB, free: 23.74 MB / 0.6198 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.0001236/0.2519, allocations: 115.5 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.2522, allocations: 87.89 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2522, allocations: 0 / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2523, allocations: 43.97 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.253, allocations: 67.11 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.2535, allocations: 209.1 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.2537, allocations: 0.6926 MB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.803e-05/0.2538, allocations: 16.42 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.2538, allocations: 15.44 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2538, allocations: 0 / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.005174/0.259, allocations: 1.513 MB / 0.9852 GB, free: 20.95 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)