Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.573/1.573, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 184.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 0.6626 GB, free: 4.238 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007376/0.0007376, allocations: 98.12 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 12 kB / 0.9088 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6006/0.6009, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.7771, allocations: 141 MB / 1.164 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.7773, allocations: 73.59 kB / 1.164 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009297/0.7866, allocations: 3.948 MB / 1.168 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7867, allocations: 0 / 1.168 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.7867, allocations: 4 kB / 1.168 GB, free: 15.52 MB / 0.7448 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.0004952/0.7872, allocations: 403 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.7873, allocations: 14.44 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.7873, allocations: 10.39 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.7875, allocations: 177.6 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.7875, allocations: 4.375 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.7876, allocations: 5.078 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.7877, allocations: 83.94 kB / 1.169 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.7878, allocations: 1.125 kB / 1.169 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.7878, allocations: 8.562 kB / 1.169 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7878, allocations: 4 kB / 1.169 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.7879, allocations: 39.75 kB / 1.169 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.7885, allocations: 340.9 kB / 1.169 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.7887, allocations: 119.3 kB / 1.169 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.7888, allocations: 66.98 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.7888, allocations: 1.812 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.789, allocations: 92.59 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.789, allocations: 1.844 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002919/0.7893, allocations: 148.6 kB / 1.169 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.7893, allocations: 56.02 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.7894, allocations: 135.9 kB / 1.17 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.7894, allocations: 25.7 kB / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.7895, allocations: 89.45 kB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.7895, allocations: 17.17 kB / 1.17 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.7895, allocations: 4.625 kB / 1.17 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7896, allocations: 317.9 kB / 1.17 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.7897, allocations: 38.14 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.7898, allocations: 60.55 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.7899, allocations: 97.22 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7899, allocations: 0 / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001979/0.7901, allocations: 127 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7902, allocations: 9.344 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7902, allocations: 0.6562 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7902, allocations: 1.125 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.7903, allocations: 8.125 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.7903, allocations: 4 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.7904, allocations: 5.172 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.7904, allocations: 29.64 kB / 1.17 GB, free: 13 MB / 0.7448 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 9.22e-05/0.7905, allocations: 126 kB / 1.17 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.7905, allocations: 7.906 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.7906, allocations: 15.44 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7906, allocations: 4 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7906, allocations: 0 / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.7906, allocations: 2.766 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.791, allocations: 410.8 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.791, allocations: 1.219 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.7911, allocations: 5.266 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.7911, allocations: 4 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7911, allocations: 2.859 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7911, allocations: 3.938 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7911, allocations: 2.266 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.7913, allocations: 220.5 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.7914, allocations: 85.66 kB / 1.171 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.7914, allocations: 5.219 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.7915, allocations: 6.109 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.7915, allocations: 12.86 kB / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.7916, allocations: 21 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.7916, allocations: 98.53 kB / 1.171 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7916, allocations: 0 / 1.171 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002282/0.7919, allocations: 16.66 kB / 1.171 GB, free: 11.96 MB / 0.7448 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.000134/0.792, allocations: 107.2 kB / 1.171 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.7922, allocations: 89.38 kB / 1.172 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7922, allocations: 2.156 kB / 1.172 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.7923, allocations: 46.08 kB / 1.172 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.7928, allocations: 66.36 kB / 1.172 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.7932, allocations: 221 kB / 1.172 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.7934, allocations: 0.6932 MB / 1.173 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.7935, allocations: 14.28 kB / 1.173 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.7935, allocations: 14.5 kB / 1.173 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.7935, allocations: 0 / 1.173 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.004221/0.7977, allocations: 1.554 MB / 1.174 GB, free: 9.898 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)