Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.218/2.218, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001531/0.001531, allocations: 174.4 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 0.5662 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 97.27 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.234e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8513/1.07, allocations: 131.8 MB / 1.013 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.07, allocations: 68.09 kB / 1.013 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01643/1.086, allocations: 3.915 MB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/1.086, allocations: 0 / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.086, allocations: 0 / 1.017 GB, free: 3.789 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.0005961/1.087, allocations: 398 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.087, allocations: 16.02 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/1.087, allocations: 7.906 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/1.087, allocations: 183.5 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.087, allocations: 0 / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/1.087, allocations: 4 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000142/1.088, allocations: 41.48 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/1.088, allocations: 78.16 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.088, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.088, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/1.088, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/1.089, allocations: 313.9 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/1.089, allocations: 109.3 kB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/1.089, allocations: 66.61 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/1.089, allocations: 4 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/1.089, allocations: 79.89 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/1.089, allocations: 0 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003541/1.09, allocations: 114.4 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.09, allocations: 63.34 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/1.09, allocations: 116.8 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/1.09, allocations: 29.7 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/1.09, allocations: 87.67 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/1.09, allocations: 15.5 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/1.09, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.09, allocations: 322.4 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/1.09, allocations: 35.34 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/1.09, allocations: 58.11 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.566e-05/1.09, allocations: 39.25 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.091, allocations: 3.938 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002692/1.091, allocations: 112.3 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.091, allocations: 8 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.091, allocations: 0 / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.091, allocations: 0 / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/1.091, allocations: 11.94 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.091, allocations: 8.016 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/1.091, allocations: 7.953 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/1.091, allocations: 19.66 kB / 1.019 GB, free: 1.434 MB / 0.6355 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 0.0001096/1.091, allocations: 106.1 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002463/1.092, allocations: 116.1 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/1.092, allocations: 11.94 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/1.092, allocations: 12.3 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.092, allocations: 4 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/1.092, allocations: 7.953 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/1.092, allocations: 0 / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/1.092, allocations: 372.5 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.092, allocations: 0 / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/1.092, allocations: 7.938 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.092, allocations: 0 / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.092, allocations: 0 / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.092, allocations: 7.953 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.092, allocations: 4 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/1.093, allocations: 213.5 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/1.093, allocations: 81.11 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/1.093, allocations: 7.938 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/1.093, allocations: 3.938 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/1.093, allocations: 11.94 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/1.093, allocations: 31.64 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.336e-05/1.093, allocations: 91.44 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/1.093, allocations: 0 / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003805/1.094, allocations: 15.98 kB / 1.02 GB, free: 340 kB / 0.6355 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.0006969/1.094, allocations: 0.7532 MB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002403/1.095, allocations: 81.78 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.095, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/1.095, allocations: 47.3 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/1.095, allocations: 58.89 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/1.096, allocations: 179.8 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/1.096, allocations: 0.6963 MB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.366e-05/1.096, allocations: 12.42 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/1.096, allocations: 26.36 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/1.096, allocations: 0 / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/1.131, allocations: 2.119 MB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/1.131, allocations: 161.8 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.503, allocations: 3.938 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB