Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.3 MB / 303.2 MB, free: 8.102 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.001328/0.001328, allocations: 183.6 kB / 371.9 MB, free: 10.3 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.909/1.909, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009673/0.0009672, allocations: 105.1 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 11.81 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0007756/0.2076, allocations: 342 kB / 0.9798 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.208, allocations: 184.5 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.208, allocations: 0 / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.494e-05/0.2081, allocations: 3.984 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.2082, allocations: 7.984 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.2084, allocations: 35.84 kB / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.2085, allocations: 31.95 kB / 0.98 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2086, allocations: 16 kB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.2087, allocations: 15.92 kB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.2087, allocations: 23.91 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2087, allocations: 4 kB / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.2088, allocations: 0 / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.2088, allocations: 19.92 kB / 0.9801 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.2088, allocations: 33.7 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.961e-05/0.2089, allocations: 43.89 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2089, allocations: 4 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2089, allocations: 0 / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2089, allocations: 0 / 0.9802 GB, free: 26.96 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.0004382/0.2094, allocations: 401 kB / 0.9805 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2094, allocations: 12.03 kB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.2095, allocations: 7.906 kB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2096, allocations: 178.9 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.2096, allocations: 8 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2097, allocations: 4 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.2098, allocations: 85.66 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2098, allocations: 0 / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2099, allocations: 0 / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2099, allocations: 4 kB / 0.9808 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.2099, allocations: 47.89 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.2104, allocations: 344.6 kB / 0.9812 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2106, allocations: 118.5 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2106, allocations: 0 / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.2108, allocations: 95.34 kB / 0.9814 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2108, allocations: 3.938 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002451/0.211, allocations: 153.5 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.2111, allocations: 51.41 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.2111, allocations: 137.9 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2112, allocations: 25.7 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.2112, allocations: 92.05 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.2113, allocations: 11.81 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.2113, allocations: 4 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.2113, allocations: 322.8 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.2114, allocations: 35.98 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.2114, allocations: 62.92 kB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.2115, allocations: 35.98 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2115, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000139/0.2117, allocations: 125.5 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2117, allocations: 11.98 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2117, allocations: 0 / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2117, allocations: 0 / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.2118, allocations: 16 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2118, allocations: 0 / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.2119, allocations: 7.969 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.2119, allocations: 31.94 kB / 0.9825 GB, free: 24.34 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 7.813e-05/0.212, allocations: 131.3 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.212, allocations: 7.906 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.2121, allocations: 8.375 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2121, allocations: 4 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2121, allocations: 3.984 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2121, allocations: 0 / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2124, allocations: 419 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2124, allocations: 0 / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-06/0.2124, allocations: 0 / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2124, allocations: 4 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2124, allocations: 4.078 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2124, allocations: 3.938 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2125, allocations: 0 / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2126, allocations: 223.3 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.2126, allocations: 81.02 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2127, allocations: 11.98 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.2127, allocations: 0 / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2128, allocations: 11.92 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.2128, allocations: 27.95 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.2129, allocations: 99.42 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2129, allocations: 0 / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002168/0.2131, allocations: 23.89 kB / 0.9835 GB, free: 23.2 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 9.702e-05/0.2132, allocations: 108.1 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.2133, allocations: 91.89 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2134, allocations: 0 / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.2134, allocations: 43.92 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2138, allocations: 68.75 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.2141, allocations: 217.1 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2143, allocations: 0.6965 MB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.961e-05/0.2143, allocations: 16.64 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2143, allocations: 15.44 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2143, allocations: 0 / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.003448/0.2178, allocations: 1.514 MB / 0.9862 GB, free: 20.4 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)