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.782/1.782, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001112/0.001112, allocations: 168.9 kB / 361.4 MB, free: 6.82 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.737/1.737, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008369/0.000837, allocations: 91.92 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.165e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6658, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.8663, allocations: 137 MB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.8666, allocations: 63.97 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.8766, allocations: 3.897 MB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8767, allocations: 4 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.8767, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 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.0005108/0.8772, allocations: 392.7 kB / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.8773, allocations: 8.031 kB / 1.103 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.8774, allocations: 9.531 kB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.8776, allocations: 190.8 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.8776, allocations: 0.9375 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.8777, allocations: 4.562 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/0.8778, allocations: 35.98 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.8779, allocations: 74.61 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8779, allocations: 1.75 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.878, allocations: 3.984 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.878, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.8786, allocations: 321.2 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.8788, allocations: 107.9 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.8789, allocations: 66.14 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.8789, allocations: 6.891 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.879, allocations: 84.58 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.879, allocations: 0.5938 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002797/0.8793, allocations: 106.3 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.8794, allocations: 60.06 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.8795, allocations: 113.5 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.8795, allocations: 25.81 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.8796, allocations: 96.78 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.8796, allocations: 12.69 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.8796, allocations: 4 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8797, allocations: 323.3 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.8798, allocations: 32.67 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.8798, allocations: 55.75 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.8799, allocations: 36.45 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8799, allocations: 1.875 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001777/0.8801, allocations: 117.8 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8801, allocations: 8 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8802, allocations: 5.062 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8802, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.8802, allocations: 8 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.8803, allocations: 5.156 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.8803, allocations: 5.875 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.8804, allocations: 23.95 kB / 1.104 GB, free: 12.29 MB / 0.7136 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 () * 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.935e-05/0.8805, allocations: 117.5 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000152/0.8807, allocations: 109.7 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.8807, allocations: 7.906 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.8807, allocations: 8.625 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8807, allocations: 0 / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8807, allocations: 0 / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.8807, allocations: 10.86 kB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.8811, allocations: 372.4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8811, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.8811, allocations: 7.984 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8812, allocations: 3.938 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8812, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8812, allocations: 7.188 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8812, allocations: 4 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.8814, allocations: 216.2 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.8814, allocations: 81.02 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.8815, allocations: 4 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.8815, allocations: 4 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.8816, allocations: 12.02 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.8816, allocations: 19.97 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.8817, allocations: 98.06 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8817, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002502/0.882, allocations: 12 kB / 1.105 GB, free: 11.14 MB / 0.7136 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) * 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.0005659/0.8825, allocations: 0.7613 MB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.8827, allocations: 83.91 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8827, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.8828, allocations: 43.92 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.8833, allocations: 65.45 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.8838, allocations: 172.4 kB / 1.107 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.8841, allocations: 0.6963 MB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.858e-05/0.8842, allocations: 14.53 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.8842, allocations: 31.42 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of SimCode: time 1.853e-06/0.8842, allocations: 0 / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.9059, allocations: 2.128 MB / 1.109 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.9061, allocations: 157.4 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.477, allocations: 0 / 1.109 GB, free: 6.953 MB / 0.7136 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)