Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009873/0.0009877, allocations: 179.1 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008255/0.0008252, allocations: 95.94 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.843e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7035/0.888, allocations: 132.1 MB / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.8883, allocations: 70.64 kB / 1.014 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009473/0.8978, allocations: 3.904 MB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8979, allocations: 0 / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.8979, allocations: 0 / 1.018 GB, free: 2.137 MB / 0.6355 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.000449/0.8983, allocations: 395.2 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8984, allocations: 12.02 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.8984, allocations: 8 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.8986, allocations: 186.8 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.8987, allocations: 4 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.8987, allocations: 4 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.8988, allocations: 42.8 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.8989, allocations: 76.28 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.899, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.899, allocations: 4 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.899, allocations: 0 / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.8995, allocations: 310.7 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.8997, allocations: 111.8 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.8998, allocations: 63.83 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.8998, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.9, allocations: 77.64 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.9, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002494/0.9002, allocations: 115.5 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.9003, allocations: 55.39 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.9004, allocations: 123.5 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.9004, allocations: 29.7 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.9005, allocations: 91.7 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.9005, allocations: 15.72 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.9005, allocations: 0 / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9007, allocations: 326.5 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.9008, allocations: 30.84 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.243e-05/0.9009, allocations: 56.73 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.9009, allocations: 39.2 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.901, allocations: 3.938 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001852/0.9011, allocations: 122.6 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9012, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9012, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.9012, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.9013, allocations: 7.188 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.9013, allocations: 3.984 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.9014, allocations: 8.031 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.9014, allocations: 19.91 kB / 1.02 GB, free: 15.78 MB / 0.6511 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 9.23e-05/0.9015, allocations: 111.8 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000161/0.9017, allocations: 117.8 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.9017, allocations: 7.906 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.9018, allocations: 11.61 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9018, allocations: 4 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9018, allocations: 4 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.9018, allocations: 3.953 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.9022, allocations: 377.3 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.9022, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.9022, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.9023, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.9023, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9023, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.9023, allocations: 7.953 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.9025, allocations: 211.7 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.9026, allocations: 85.11 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.9026, allocations: 3.938 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.9027, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.9027, allocations: 22.69 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.9028, allocations: 23.95 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.9029, allocations: 102.9 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9029, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002404/0.9031, allocations: 12 kB / 1.021 GB, free: 14.68 MB / 0.6511 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.0005205/0.9036, allocations: 0.738 MB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.9038, allocations: 95.27 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9038, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.9039, allocations: 38.42 kB / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.9043, allocations: 61.5 kB / 1.022 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.9047, allocations: 181 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.9051, allocations: 0.6963 MB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.869e-05/0.9051, allocations: 12.42 kB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.9052, allocations: 26.23 kB / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9052, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.9247, allocations: 2.138 MB / 1.025 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.925, allocations: 167 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.397, allocations: 0 / 1.026 GB, free: 10.52 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)