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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001319/0.001319, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.697/1.697, allocations: 251.6 MB / 0.5088 GB, free: 3.277 MB / 414.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.001973/0.001973, allocations: 59.91 kB / 0.6216 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.7404, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002857/0.7433, allocations: 1.388 MB / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004721/0.7438, allocations: 191.3 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.7438, allocations: 3.938 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.744, allocations: 0 / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.744, allocations: 7.922 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.7443, allocations: 39.97 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7445, allocations: 51.91 kB / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.7446, allocations: 8 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.7446, allocations: 27.91 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.7447, allocations: 19.92 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.7447, allocations: 4 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.7448, allocations: 0 / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.7448, allocations: 27.91 kB / 0.7255 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.7449, allocations: 27.8 kB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.745, allocations: 63.77 kB / 0.7256 GB, free: 11.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.745, allocations: 4 kB / 0.7256 GB, free: 11.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.255e-06/0.745, allocations: 4 kB / 0.7256 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.745, allocations: 0 / 0.7256 GB, free: 11.25 MB / 0.545 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.0006169/0.7457, allocations: 406.9 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.7457, allocations: 8.031 kB / 0.726 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.7458, allocations: 8.844 kB / 0.726 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.746, allocations: 184.2 kB / 0.7262 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.746, allocations: 4.375 kB / 0.7262 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.746, allocations: 8.375 kB / 0.7262 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.7462, allocations: 86.2 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7462, allocations: 4.125 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.7462, allocations: 7.922 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.7463, allocations: 0 / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.935e-05/0.7463, allocations: 43.97 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.7469, allocations: 348.6 kB / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.7471, allocations: 114.5 kB / 0.7268 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.7472, allocations: 64.86 kB / 0.7269 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.7473, allocations: 0 / 0.7269 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.7474, allocations: 95.25 kB / 0.727 GB, free: 9.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.624e-06/0.7475, allocations: 4 kB / 0.727 GB, free: 9.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003097/0.7478, allocations: 149.5 kB / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.7478, allocations: 59.39 kB / 0.7272 GB, free: 9.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.7479, allocations: 125.6 kB / 0.7273 GB, free: 9.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.748, allocations: 29.7 kB / 0.7273 GB, free: 9.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.748, allocations: 96.03 kB / 0.7274 GB, free: 9.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.7481, allocations: 19.75 kB / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.7481, allocations: 29.7 kB / 0.7274 GB, free: 9.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7483, allocations: 330.8 kB / 0.7278 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.7483, allocations: 31.98 kB / 0.7278 GB, free: 8.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.7484, allocations: 66.59 kB / 0.7279 GB, free: 8.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.7485, allocations: 90.48 kB / 0.7279 GB, free: 8.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7486, allocations: 0 / 0.7279 GB, free: 8.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000182/0.7487, allocations: 133.5 kB / 0.7281 GB, free: 8.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.7488, allocations: 12.03 kB / 0.7281 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.7488, allocations: 3.984 kB / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.7488, allocations: 0 / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.7489, allocations: 11.94 kB / 0.7281 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7489, allocations: 0 / 0.7281 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.749, allocations: 8 kB / 0.7281 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/0.7491, allocations: 23.95 kB / 0.7281 GB, free: 8.449 MB / 0.545 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.7492, allocations: 129.8 kB / 0.7282 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.7492, allocations: 11.91 kB / 0.7283 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.7493, allocations: 8.375 kB / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7493, allocations: 4 kB / 0.7283 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.7493, allocations: 3.984 kB / 0.7283 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7493, allocations: 0 / 0.7283 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.7498, allocations: 422.5 kB / 0.7287 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7498, allocations: 0 / 0.7287 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.7498, allocations: 4 kB / 0.7287 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7498, allocations: 0 / 0.7287 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.7498, allocations: 7.984 kB / 0.7287 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7498, allocations: 0 / 0.7287 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7498, allocations: 0 / 0.7287 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.7501, allocations: 219.4 kB / 0.7289 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.7501, allocations: 85.02 kB / 0.729 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.7501, allocations: 7.984 kB / 0.729 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.7502, allocations: 0 / 0.729 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.7503, allocations: 19.95 kB / 0.729 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.7503, allocations: 35.89 kB / 0.729 GB, free: 7.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.342e-05/0.7504, allocations: 99.27 kB / 0.7291 GB, free: 7.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7504, allocations: 0 / 0.7291 GB, free: 7.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002343/0.7506, allocations: 12 kB / 0.7291 GB, free: 7.301 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.7508, allocations: 107.2 kB / 0.7292 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.751, allocations: 91.83 kB / 0.7293 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.751, allocations: 0 / 0.7293 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.7511, allocations: 48.05 kB / 0.7294 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.7515, allocations: 66.55 kB / 0.7294 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.7519, allocations: 215 kB / 0.7296 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.7522, allocations: 0.6969 MB / 0.7303 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.687e-05/0.7523, allocations: 12.44 kB / 0.7303 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.7524, allocations: 15.42 kB / 0.7304 GB, free: 5.996 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.7524, allocations: 0 / 0.7304 GB, free: 5.996 MB / 0.545 GB Notification: Performance of Templates: time 0.00414/0.7565, allocations: 1.575 MB / 0.7319 GB, free: 4.441 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)