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.0008212/0.0008212, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.566/1.566, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005201/0.0005201, allocations: 20.38 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008241/0.248, allocations: 345.8 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000407/0.2484, allocations: 196.6 kB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.2485, allocations: 0 / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.658e-05/0.2486, allocations: 0 / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.2486, allocations: 3.938 kB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.2489, allocations: 31.97 kB / 0.788 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.249, allocations: 51.84 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2491, allocations: 11.97 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.2491, allocations: 19.94 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.2492, allocations: 31.84 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2492, allocations: 0 / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.2492, allocations: 4 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.2493, allocations: 15.97 kB / 0.7881 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.2493, allocations: 33.64 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.069e-05/0.2494, allocations: 47.91 kB / 0.7882 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2494, allocations: 0 / 0.7882 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2494, allocations: 4 kB / 0.7882 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2494, allocations: 0 / 0.7882 GB, free: 11.07 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.0004964/0.2499, allocations: 397 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.25, allocations: 8.031 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.25, allocations: 34.56 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.2501, allocations: 7.906 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.2502, allocations: 187 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2503, allocations: 0 / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2503, allocations: 8 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2505, allocations: 85.53 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2505, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2505, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2505, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.2506, allocations: 43.97 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.2511, allocations: 336.7 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.2513, allocations: 122.5 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2514, allocations: 60.86 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2515, allocations: 8 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.2516, allocations: 87.39 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2517, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003011/0.252, allocations: 157.5 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.252, allocations: 55.39 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2521, allocations: 133.7 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2521, allocations: 29.7 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.2522, allocations: 96.05 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2522, allocations: 23.84 kB / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.2522, allocations: 0 / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2524, allocations: 318.8 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.2524, allocations: 35.97 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.2525, allocations: 50.56 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.2526, allocations: 43.97 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2526, allocations: 4 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001819/0.2528, allocations: 129.5 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2528, allocations: 4 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2528, allocations: 4 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2528, allocations: 0 / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.2529, allocations: 7.938 kB / 0.7906 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2529, allocations: 4 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.253, allocations: 15.88 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.253, allocations: 28 kB / 0.7906 GB, free: 8.348 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 ($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 9.878e-05/0.2531, allocations: 129.8 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.2532, allocations: 11.91 kB / 0.7907 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2532, allocations: 12.36 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2532, allocations: 0 / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2532, allocations: 0 / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2532, allocations: 4 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.2536, allocations: 414.7 kB / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2536, allocations: 8 kB / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.2536, allocations: 4 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2536, allocations: 0 / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2537, allocations: 7.984 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2537, allocations: 3.938 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2537, allocations: 3.953 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.2539, allocations: 215.4 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2539, allocations: 85 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2539, allocations: 4 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.254, allocations: 8 kB / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.2541, allocations: 7.984 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.2541, allocations: 27.91 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.2542, allocations: 95.27 kB / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2542, allocations: 0 / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002297/0.2544, allocations: 19.94 kB / 0.7916 GB, free: 7.211 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 (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.0004978/0.2549, allocations: 0.7553 MB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.2551, allocations: 91.88 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2551, allocations: 3.938 kB / 0.7924 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.2552, allocations: 44.27 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.2556, allocations: 64.05 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.2565, allocations: 0.6425 MB / 0.7932 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2568, allocations: 0.6965 MB / 0.7939 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.34e-05/0.2569, allocations: 20.36 kB / 0.7939 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.2569, allocations: 23.42 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2569, allocations: 0 / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.274, allocations: 2.521 MB / 0.7964 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.2743, allocations: 198.4 kB / 0.7965 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.846, allocations: 0 / 0.7965 GB, free: 2.164 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/linux/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) Environment - environmentSimulation: