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.236/2.236, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 177 kB / 325.5 MB, free: 2.93 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.391/2.391, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001129/0.001129, allocations: 99.36 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004832, allocations: 12.59 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2365, allocations: 106.3 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.4878, allocations: 131.7 MB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4882, allocations: 75.94 kB / 1.027 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.5049, allocations: 3.938 MB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.505, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.505, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 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.0006204/0.5056, allocations: 404.7 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5057, allocations: 12.03 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.5058, allocations: 34.56 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.5058, allocations: 11.86 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.5061, allocations: 186.9 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.5061, allocations: 4 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.5061, allocations: 8 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.5064, allocations: 73.66 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5064, allocations: 8 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5064, allocations: 3.938 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5064, allocations: 0 / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.5066, allocations: 39.97 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.5073, allocations: 344.6 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.5076, allocations: 118.5 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.5077, allocations: 0 / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.5079, allocations: 91.34 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.5079, allocations: 0 / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004348/0.5084, allocations: 161.4 kB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.5084, allocations: 63.41 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.5086, allocations: 116.8 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.5086, allocations: 25.7 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.5087, allocations: 95.97 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.5087, allocations: 20.03 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.5087, allocations: 0 / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5089, allocations: 322.8 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.509, allocations: 31.98 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.5092, allocations: 70.59 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.5094, allocations: 35.92 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5095, allocations: 0 / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003224/0.5098, allocations: 125.5 kB / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5098, allocations: 8 kB / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5098, allocations: 0 / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5099, allocations: 4.031 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.51, allocations: 11.98 kB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.51, allocations: 11.95 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.5101, allocations: 0 / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.5102, allocations: 24 kB / 1.034 GB, free: 7.488 MB / 0.6823 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 0.0001503/0.5104, allocations: 130.9 kB / 1.034 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.5104, allocations: 7.906 kB / 1.034 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.5105, allocations: 12.38 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5105, allocations: 4 kB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5105, allocations: 0 / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5105, allocations: 3.953 kB / 1.034 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.5111, allocations: 406.5 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.5112, allocations: 3.984 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.5112, allocations: 0 / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5112, allocations: 4 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5112, allocations: 0 / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5112, allocations: 7.953 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5112, allocations: 480 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.5116, allocations: 223.3 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.5116, allocations: 77.11 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.5117, allocations: 8 kB / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.5118, allocations: 0 / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.5118, allocations: 15.88 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.5119, allocations: 27.95 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.512, allocations: 103.2 kB / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.512, allocations: 0 / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000314/0.5123, allocations: 12 kB / 1.035 GB, free: 6.363 MB / 0.6823 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.0007332/0.5131, allocations: 0.7553 MB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.5134, allocations: 87.89 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5134, allocations: 0 / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.5135, allocations: 47.91 kB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.5141, allocations: 68.88 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.5151, allocations: 0.721 MB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.5154, allocations: 0.712 MB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.809e-05/0.5155, allocations: 8.438 kB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.5156, allocations: 27.42 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/0.5156, allocations: 3.938 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.5379, allocations: 2.462 MB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/0.5382, allocations: 196.5 kB / 1.04 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/2.978, allocations: 1.969 kB / 1.04 GB, free: 1.277 MB / 0.6823 GB