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.784/1.784, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001233/0.001234, allocations: 189 kB / 371.8 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.703/1.703, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001158/0.001158, allocations: 101.5 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005823, allocations: 11.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1949, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0006794/0.1956, allocations: 338.1 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003438/0.1959, allocations: 184.5 kB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.196, allocations: 0 / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.01e-05/0.1961, allocations: 3.938 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.1961, allocations: 4 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1963, allocations: 39.89 kB / 0.98 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.1964, allocations: 35.91 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.1965, allocations: 11.98 kB / 0.9801 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.1966, allocations: 15.98 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.1966, allocations: 27.84 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1966, allocations: 4 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.1967, allocations: 0 / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.1967, allocations: 15.97 kB / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.1967, allocations: 41.64 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.592e-05/0.1968, allocations: 47.91 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1968, allocations: 0 / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1968, allocations: 0 / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.1968, allocations: 0 / 0.9802 GB, free: 26.84 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.0003991/0.1972, allocations: 389 kB / 0.9806 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1973, allocations: 16.02 kB / 0.9806 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.1973, allocations: 38.56 kB / 0.9806 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.1973, allocations: 7.906 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1975, allocations: 186.9 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1975, allocations: 4 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1975, allocations: 4 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1976, allocations: 85.59 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1977, allocations: 0 / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1977, allocations: 4 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1977, allocations: 0 / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.1978, allocations: 43.95 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1982, allocations: 348.6 kB / 0.9813 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1983, allocations: 118.5 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1984, allocations: 32 / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.1985, allocations: 91.31 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1985, allocations: 0 / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000216/0.1987, allocations: 157.5 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.1988, allocations: 59.52 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.1988, allocations: 141.6 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1989, allocations: 25.7 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.1989, allocations: 92.05 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.1989, allocations: 20.03 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1989, allocations: 4 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.199, allocations: 318.8 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.199, allocations: 31.98 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.1991, allocations: 62.55 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.1991, allocations: 35.98 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1991, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000139/0.1993, allocations: 129.5 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1993, allocations: 4 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1993, allocations: 3.984 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1993, allocations: 4 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.1994, allocations: 11.97 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1994, allocations: 0 / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.1995, allocations: 7.938 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.1996, allocations: 27.91 kB / 0.9826 GB, free: 24.17 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 6.422e-05/0.1996, allocations: 125.8 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1996, allocations: 7.906 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.1997, allocations: 12.38 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1997, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1997, allocations: 7.984 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1997, allocations: 3.938 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.2, allocations: 414.7 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.2, allocations: 4 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2, allocations: 96 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2, allocations: 7.922 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2001, allocations: 4 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2001, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.2002, allocations: 219.3 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.2002, allocations: 93.02 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2003, allocations: 3.984 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.2003, allocations: 4 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2004, allocations: 7.984 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.2004, allocations: 27.95 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.2004, allocations: 99.22 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2005, allocations: 4 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002178/0.2007, allocations: 19.94 kB / 0.9836 GB, free: 23.03 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.0002848/0.201, allocations: 0.7482 MB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2011, allocations: 91.89 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2011, allocations: 8 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.744e-05/0.2012, allocations: 43.97 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2015, allocations: 63.73 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.202, allocations: 0.7281 MB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.931e-05/0.2021, allocations: 0.6965 MB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.613e-05/0.2022, allocations: 16.42 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2022, allocations: 27.44 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2022, allocations: 0 / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.2142, allocations: 2.504 MB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/0.2143, allocations: 211.3 kB / 0.9886 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.748, allocations: 0 / 0.9886 GB, free: 17.93 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)