Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 187.5 kB / 16.64 MB, free: 6.594 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.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.001518/0.001518, allocations: 69.72 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2524, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002119/0.2545, allocations: 0.6309 MB / 0.7843 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000542/0.2551, allocations: 191.4 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.2551, allocations: 3.938 kB / 0.7845 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2553, allocations: 3.938 kB / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/0.2553, allocations: 0 / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.2557, allocations: 47.83 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2558, allocations: 59.84 kB / 0.7846 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.256, allocations: 19.97 kB / 0.7846 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.256, allocations: 15.94 kB / 0.7846 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.2561, allocations: 27.91 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.2561, allocations: 4 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.2562, allocations: 4 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.2562, allocations: 23.91 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.2563, allocations: 23.81 kB / 0.7847 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.2565, allocations: 83.69 kB / 0.7848 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2565, allocations: 4 kB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2565, allocations: 0 / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.2565, allocations: 0 / 0.7848 GB, free: 12.12 MB / 0.6075 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.0007066/0.2572, allocations: 401.2 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.2573, allocations: 11.97 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.2573, allocations: 42.73 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.2574, allocations: 8.844 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.2576, allocations: 176.3 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.2576, allocations: 8.375 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.2577, allocations: 8.375 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2578, allocations: 82.16 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2579, allocations: 3.938 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2579, allocations: 3.984 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2579, allocations: 4 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.258, allocations: 39.92 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.2586, allocations: 348.6 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.2588, allocations: 114.5 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.2589, allocations: 68.84 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2589, allocations: 7.938 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.2591, allocations: 79.38 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2591, allocations: 0 / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003086/0.2594, allocations: 157.5 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.2594, allocations: 55.41 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.2595, allocations: 125.8 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2596, allocations: 29.7 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.2596, allocations: 92.12 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.2597, allocations: 16.09 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.2597, allocations: 33.7 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2598, allocations: 322.8 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.2599, allocations: 40.03 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.26, allocations: 78.78 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2601, allocations: 90.61 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2601, allocations: 0 / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001719/0.2603, allocations: 125.5 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2603, allocations: 8 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2603, allocations: 0 / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2604, allocations: 4.031 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.2604, allocations: 15.92 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2605, allocations: 4 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.2605, allocations: 7.938 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.2606, allocations: 27.95 kB / 0.7873 GB, free: 9.277 MB / 0.6075 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.000124/0.2607, allocations: 129.7 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.2608, allocations: 11.91 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.2608, allocations: 16.31 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2608, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2608, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2608, allocations: 4 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.2613, allocations: 406.4 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2613, allocations: 0 / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.2613, allocations: 4 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2613, allocations: 0 / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2613, allocations: 4 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2614, allocations: 0 / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2614, allocations: 7.938 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.2616, allocations: 219.3 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.2616, allocations: 84.95 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2617, allocations: 4 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.2617, allocations: 4 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.2618, allocations: 16.05 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.2618, allocations: 31.94 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.2619, allocations: 103.2 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2619, allocations: 0 / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002603/0.2622, allocations: 12 kB / 0.7883 GB, free: 8.145 MB / 0.6075 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.0004978/0.2627, allocations: 0.7552 MB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.2629, allocations: 100 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2629, allocations: 4 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.263, allocations: 39.98 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.2634, allocations: 77.39 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2648, allocations: 1.567 MB / 0.7908 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2651, allocations: 0.6963 MB / 0.7914 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.103e-05/0.2652, allocations: 16.55 kB / 0.7915 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.2653, allocations: 28.08 kB / 0.7915 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2653, allocations: 480 / 0.7915 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.2835, allocations: 2.77 MB / 0.7942 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.04, allocations: 7.938 kB / 0.7942 GB, free: 2.074 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)