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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.762/1.762, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.001269/0.001269, allocations: 183 kB / 372 MB, free: 10.27 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.62/1.62, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0006708/0.0006708, allocations: 101 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004816, allocations: 12.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.194, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0006514/0.1947, allocations: 342.1 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003822/0.1951, allocations: 184.4 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.1952, allocations: 0 / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.397e-05/0.1953, allocations: 3.938 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.1953, allocations: 15.97 kB / 0.9802 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1955, allocations: 27.92 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.1956, allocations: 51.89 kB / 0.9802 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.1957, allocations: 12 kB / 0.9803 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.1958, allocations: 15.92 kB / 0.9803 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.1958, allocations: 23.91 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1959, allocations: 4 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.1959, allocations: 0 / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.1959, allocations: 19.98 kB / 0.9803 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.196, allocations: 37.64 kB / 0.9804 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.89e-05/0.196, allocations: 51.83 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.196, allocations: 0 / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.196, allocations: 0 / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.1961, allocations: 0 / 0.9804 GB, free: 26.79 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.0004039/0.1965, allocations: 397 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1965, allocations: 16.02 kB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.1965, allocations: 30.56 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1966, allocations: 7.906 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1967, allocations: 190.9 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1968, allocations: 8 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1968, allocations: 7.984 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1969, allocations: 81.59 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1969, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.197, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.197, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.197, allocations: 43.97 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.1975, allocations: 348.6 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1977, allocations: 122.5 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.1978, allocations: 60.83 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1978, allocations: 0 / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.1979, allocations: 99.25 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.1979, allocations: 4 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002427/0.1982, allocations: 153.5 kB / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.1982, allocations: 51.41 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.1983, allocations: 129.8 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1983, allocations: 29.7 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.1984, allocations: 88.05 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.1984, allocations: 15.81 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.1984, allocations: 0 / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.1984, allocations: 326.8 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.1985, allocations: 32.09 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.1986, allocations: 62.48 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.807e-05/0.1986, allocations: 35.98 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1986, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001491/0.1988, allocations: 129.4 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1988, allocations: 9.875 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1988, allocations: 4.031 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1988, allocations: 0 / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.1989, allocations: 11.98 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1989, allocations: 0 / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.199, allocations: 15.89 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.1991, allocations: 23.95 kB / 0.9828 GB, free: 24.06 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.623e-05/0.1991, allocations: 131.5 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.1992, allocations: 11.91 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.1992, allocations: 8.375 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1992, allocations: 4 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1992, allocations: 0 / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1992, allocations: 3.984 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1995, allocations: 414.8 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1995, allocations: 0 / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.1995, allocations: 0 / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1996, allocations: 4 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1996, allocations: 48 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1996, allocations: 4 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1996, allocations: 11.92 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1997, allocations: 215.4 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.1998, allocations: 81.02 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1998, allocations: 4 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1999, allocations: 7.984 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.1999, allocations: 11.92 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.2, allocations: 35.91 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.2, allocations: 95.92 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.31e-07/0.2, allocations: 0 / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002173/0.2002, allocations: 19.88 kB / 0.9838 GB, free: 22.92 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.0003112/0.2005, allocations: 0.7553 MB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.2007, allocations: 99.95 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2007, allocations: 0 / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/0.2008, allocations: 44.25 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.2013, allocations: 71 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.2021, allocations: 0.6385 MB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.2022, allocations: 0.6926 MB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.22e-05/0.2023, allocations: 12.42 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.2024, allocations: 27.44 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2024, allocations: 3.938 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.2147, allocations: 2.541 MB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.215, allocations: 209 kB / 0.9888 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.812, allocations: 4 kB / 0.9888 GB, free: 17.87 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)