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.001/0.001, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001262/0.001262, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.566/1.566, allocations: 252 MB / 0.5102 GB, free: 4.805 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.0005106/0.0005106, allocations: 16 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.583/0.5835, allocations: 106.3 MB / 0.7281 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001703/0.5853, allocations: 1.033 MB / 0.7291 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.5858, allocations: 183.5 kB / 0.7293 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.5859, allocations: 4 kB / 0.7293 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.586, allocations: 7.922 kB / 0.7293 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.59e-05/0.586, allocations: 4 kB / 0.7293 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.5863, allocations: 35.91 kB / 0.7294 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.5865, allocations: 47.91 kB / 0.7294 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.5866, allocations: 7.984 kB / 0.7294 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.5866, allocations: 15.94 kB / 0.7294 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.5867, allocations: 31.89 kB / 0.7295 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.5867, allocations: 4 kB / 0.7295 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.5868, allocations: 4 kB / 0.7295 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.5868, allocations: 15.92 kB / 0.7295 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.5869, allocations: 33.64 kB / 0.7295 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.587, allocations: 51.89 kB / 0.7296 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.587, allocations: 0 / 0.7296 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.587, allocations: 0 / 0.7296 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.587, allocations: 0 / 0.7296 GB, free: 10.11 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.0005492/0.5875, allocations: 398.9 kB / 0.73 GB, free: 9.668 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5876, allocations: 12.03 kB / 0.73 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.5876, allocations: 7.906 kB / 0.73 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.5878, allocations: 190.7 kB / 0.7302 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.5879, allocations: 4 kB / 0.7302 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.5879, allocations: 7.984 kB / 0.7302 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5881, allocations: 77.66 kB / 0.7302 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5881, allocations: 0 / 0.7302 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5881, allocations: 8 kB / 0.7303 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5881, allocations: 0 / 0.7303 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.5882, allocations: 39.97 kB / 0.7303 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.5888, allocations: 344.7 kB / 0.7306 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.589, allocations: 118.5 kB / 0.7307 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.649e-05/0.5891, allocations: 60.86 kB / 0.7308 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.5891, allocations: 4 kB / 0.7308 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.5893, allocations: 91.31 kB / 0.7309 GB, free: 8.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.5893, allocations: 0 / 0.7309 GB, free: 8.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003039/0.5896, allocations: 157.5 kB / 0.731 GB, free: 8.441 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.5897, allocations: 55.36 kB / 0.7311 GB, free: 8.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.5898, allocations: 129.6 kB / 0.7312 GB, free: 8.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.5898, allocations: 33.69 kB / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.5899, allocations: 84.14 kB / 0.7313 GB, free: 8.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.5899, allocations: 23.75 kB / 0.7313 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.5899, allocations: 384 / 0.7313 GB, free: 8.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5901, allocations: 322.8 kB / 0.7316 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.5901, allocations: 31.98 kB / 0.7317 GB, free: 7.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.5902, allocations: 58.55 kB / 0.7317 GB, free: 7.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/0.5903, allocations: 43.86 kB / 0.7318 GB, free: 7.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.5903, allocations: 0 / 0.7318 GB, free: 7.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000175/0.5905, allocations: 133.6 kB / 0.7319 GB, free: 7.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5905, allocations: 6.031 kB / 0.7319 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.5905, allocations: 4.109 kB / 0.7319 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5905, allocations: 3.938 kB / 0.7319 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.5906, allocations: 11.98 kB / 0.7319 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5906, allocations: 4 kB / 0.7319 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.5907, allocations: 7.859 kB / 0.7319 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.5908, allocations: 27.95 kB / 0.732 GB, free: 7.426 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 ($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.0001049/0.5909, allocations: 137.8 kB / 0.7321 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.5909, allocations: 4 kB / 0.7321 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.5909, allocations: 8.375 kB / 0.7321 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5909, allocations: 0 / 0.7321 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5909, allocations: 0 / 0.7321 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.591, allocations: 7.984 kB / 0.7321 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.5914, allocations: 414.3 kB / 0.7325 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5914, allocations: 0 / 0.7325 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.5914, allocations: 0 / 0.7325 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5914, allocations: 4 kB / 0.7325 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5915, allocations: 4 kB / 0.7325 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5915, allocations: 4 kB / 0.7325 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5915, allocations: 7.938 kB / 0.7325 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.5917, allocations: 215.4 kB / 0.7327 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.5917, allocations: 77.11 kB / 0.7328 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.5918, allocations: 8 kB / 0.7328 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.5918, allocations: 7.984 kB / 0.7328 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.5919, allocations: 15.94 kB / 0.7328 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.5919, allocations: 32.08 kB / 0.7329 GB, free: 6.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.592, allocations: 95.27 kB / 0.733 GB, free: 6.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.592, allocations: 3.938 kB / 0.733 GB, free: 6.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002237/0.5922, allocations: 15.91 kB / 0.733 GB, free: 6.285 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 (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.0001277/0.5924, allocations: 103.2 kB / 0.7331 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.5925, allocations: 95.88 kB / 0.7332 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5926, allocations: 3.938 kB / 0.7332 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.5926, allocations: 51.91 kB / 0.7332 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.5931, allocations: 62.97 kB / 0.7333 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.5935, allocations: 213.2 kB / 0.7335 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.5937, allocations: 0.6848 MB / 0.7342 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.091e-05/0.5938, allocations: 20.42 kB / 0.7342 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.5938, allocations: 15.42 kB / 0.7342 GB, free: 4.977 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5938, allocations: 0 / 0.7342 GB, free: 4.977 MB / 0.545 GB Notification: Performance of Templates: time 0.003945/0.5978, allocations: 1.519 MB / 0.7357 GB, free: 3.477 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: